From 92bd32e3aa5300675f860bc49f680e9680e32c04 Mon Sep 17 00:00:00 2001 From: Stefan Imhoff Date: Thu, 19 Jan 2023 15:50:02 +0100 Subject: [PATCH] chore(nvim): change some settings --- nvim/after/plugin/whichkey.lua | 2 +- nvim/lua/kogakure/lsp/null-ls.lua | 3 --- nvim/lua/kogakure/plugins.lua | 1 - 3 files changed, 1 insertion(+), 5 deletions(-) diff --git a/nvim/after/plugin/whichkey.lua b/nvim/after/plugin/whichkey.lua index ce91c14..6fa51ce 100644 --- a/nvim/after/plugin/whichkey.lua +++ b/nvim/after/plugin/whichkey.lua @@ -119,7 +119,7 @@ local mappings = { u = { "Telescope frecency", "MRU (Frequency)" }, }, }, - P = { "Pounce", "Pounce" }, + P = { "Prettier", "Format with Prettier" }, Q = { "q!", "Quit" }, R = { "lua vim.lsp.buf.rename()", "Rename" }, S = { "lua require('spectre').open_visual({select_word=true})", "Spectre Current Word" }, diff --git a/nvim/lua/kogakure/lsp/null-ls.lua b/nvim/lua/kogakure/lsp/null-ls.lua index e1acf6a..453f03b 100644 --- a/nvim/lua/kogakure/lsp/null-ls.lua +++ b/nvim/lua/kogakure/lsp/null-ls.lua @@ -19,10 +19,8 @@ null_ls.setup({ code_actions.eslint_d.with({ diagnostics_format = "[eslint] #{m}\n(#{c})" }), code_actions.gitrebase, code_actions.gitsigns, - code_actions.proselint, completion.luasnip, diagnostics.eslint_d, - diagnostics.flake8, -- Python diagnostics.gitlint, diagnostics.golangci_lint, diagnostics.stylelint, @@ -37,7 +35,6 @@ null_ls.setup({ formatting.goimports_reviser, formatting.prettierd, formatting.stylelint, - formatting.stylua, formatting.trim_newlines, formatting.trim_whitespace, formatting.rustfmt, diff --git a/nvim/lua/kogakure/plugins.lua b/nvim/lua/kogakure/plugins.lua index 651b799..bb2c610 100644 --- a/nvim/lua/kogakure/plugins.lua +++ b/nvim/lua/kogakure/plugins.lua @@ -150,7 +150,6 @@ local plugins = { "github/copilot.vim", -- GitHub Copilot "folke/todo-comments.nvim", -- Highlight TODO "DNLHC/glance.nvim", -- Pretty preview of LSP locations - "rlane/pounce.nvim", -- Incremental fuzzy search motion "echasnovski/mini.nvim", -- Library with 20+ plugins "dhruvasagar/vim-table-mode", -- Markdown table mode { "princejoogie/chafa.nvim", dependencies = { "nvim-lua/plenary.nvim", "m00qek/baleia.nvim" } }, -- Preview images in terminal