diff options
| author | eric.marin <maarin.eric@gmail.com> | 2024-09-11 14:49:39 +0200 |
|---|---|---|
| committer | eric.marin <maarin.eric@gmail.com> | 2024-09-11 14:59:47 +0200 |
| commit | 9f20c1f313e20102dd83adeaf091284be1fd82d0 (patch) | |
| tree | d3db386875af532f4fc55c275312c7c787e88f55 /nvim/lua/plugins/lspsaga.lua | |
| download | dotfiles-9f20c1f313e20102dd83adeaf091284be1fd82d0.tar.gz dotfiles-9f20c1f313e20102dd83adeaf091284be1fd82d0.zip | |
config
Diffstat (limited to 'nvim/lua/plugins/lspsaga.lua')
| -rw-r--r-- | nvim/lua/plugins/lspsaga.lua | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/nvim/lua/plugins/lspsaga.lua b/nvim/lua/plugins/lspsaga.lua new file mode 100644 index 0000000..e486799 --- /dev/null +++ b/nvim/lua/plugins/lspsaga.lua @@ -0,0 +1,26 @@ +return { + "nvimdev/lspsaga.nvim", + lazy = true, + event = { "BufReadPost", "BufWritePost", "BufNewFile" }, + 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 = "<Enter>" + }, + -- use enter to open file with definition preview + definition_action_keys = { + edit = "<Enter>" + }, + ui = { + code_action = "", + }, + }) + end, + dependencies = { + "nvim-treesitter/nvim-treesitter", -- optional + "nvim-tree/nvim-web-devicons", -- optional + }, +} |
