neovim setup
This commit is contained in:
21
lua/plugins/lspsaga-nvim.lua
Normal file
21
lua/plugins/lspsaga-nvim.lua
Normal file
@@ -0,0 +1,21 @@
|
||||
return {
|
||||
"glepnir/lspsaga.nvim",
|
||||
lazy = false,
|
||||
config = function()
|
||||
require("lspsaga").setup({
|
||||
-- keybinds for navigation in lspsaga window
|
||||
move_in_saga = { prev = "<C-k>", next = "<C-j>" },
|
||||
-- use enter to open file with finder
|
||||
finder_action_keys = {
|
||||
open = "<CR>",
|
||||
},
|
||||
-- use enter to open file with definition preview
|
||||
definition_action_keys = {
|
||||
edit = "<CR>",
|
||||
},
|
||||
})
|
||||
end,
|
||||
dependencies = {
|
||||
"nvim-treesitter/nvim-treesitter",
|
||||
},
|
||||
}
|
||||
Reference in New Issue
Block a user