diff options
Diffstat (limited to 'neovim/.config/nvim/lua/config/lspsaga.lua')
-rw-r--r-- | neovim/.config/nvim/lua/config/lspsaga.lua | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/neovim/.config/nvim/lua/config/lspsaga.lua b/neovim/.config/nvim/lua/config/lspsaga.lua deleted file mode 100644 index 64a2624..0000000 --- a/neovim/.config/nvim/lua/config/lspsaga.lua +++ /dev/null @@ -1,18 +0,0 @@ -local lspsaga = require 'lspsaga' -lspsaga.setup({ - symbol_in_winbar = { - respect_root = true, - }, -}) - -vim.keymap.set("n", "gh", "<cmd>Lspsaga finder<CR>", { silent = true }) --- code action -vim.keymap.set("n", "<leader>cx", "<cmd>Lspsaga code_action<CR>", { silent = true }) -vim.keymap.set("v", "<leader>cx", "<cmd><C-U>Lspsaga range_code_action<CR>", { silent = true }) --- hover doc -vim.keymap.set("n", "K", "<cmd>Lspsaga hover_doc<CR>", { silent = true }) --- rename -vim.keymap.set("n", "<leader>rn", "<cmd>Lspsaga rename<CR>", { silent = true }) --- jump to diagnostics -vim.keymap.set("n", "[g", "<cmd>Lspsaga diagnostic_jump_next<CR>", { silent = true }) -vim.keymap.set("n", "]g", "<cmd>Lspsaga diagnostic_jump_prev<CR>", { silent = true }) |