Nvim settings, lsp, git
This commit is contained in:
parent
b3fab9a8af
commit
2d7c3cd696
6 changed files with 68 additions and 9 deletions
22
.config/nvim/lua/plugins/lspsaga.lua
Normal file
22
.config/nvim/lua/plugins/lspsaga.lua
Normal file
|
|
@ -0,0 +1,22 @@
|
|||
return {
|
||||
'nvimdev/lspsaga.nvim',
|
||||
config = function()
|
||||
require("lspsaga").setup({
|
||||
ui = {
|
||||
code_action = '⋯',
|
||||
expand = '+',
|
||||
collapse = '-'
|
||||
}
|
||||
})
|
||||
end,
|
||||
dependencies = {
|
||||
{ 'nvim-tree/nvim-web-devicons' },
|
||||
{ 'nvim-treesitter/nvim-treesitter' },
|
||||
},
|
||||
event = "LspAttach",
|
||||
keys = {
|
||||
{ "<leader>fi", "<cmd>Lspsaga finder<cr>", desc = "LSP Find References" },
|
||||
{ "<leader>ci", "<cmd>Lspsaga incoming_calls<cr>", desc = "Incoming Calls" },
|
||||
{ "<leader>co", "<cmd>Lspsaga outgoing_calls<cr>", desc = "Outgoing Calls" },
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue