plugins/lsp: update lspsaga
This commit is contained in:
parent
c23fb7add5
commit
df91d3512a
3 changed files with 8 additions and 7 deletions
|
@ -71,17 +71,17 @@
|
|||
"lspsaga-nvim": {
|
||||
"flake": false,
|
||||
"locked": {
|
||||
"lastModified": 1663371685,
|
||||
"narHash": "sha256-mxyqpgUWBiXC6Xm/5bb6fShZtgXGY1kBsl0DxOkf2zA=",
|
||||
"lastModified": 1664704370,
|
||||
"narHash": "sha256-f0pwssdEI5mAO/Ov8E9DpT/E+5Xi3DvMjo4ui+TX3go=",
|
||||
"owner": "glepnir",
|
||||
"repo": "lspsaga.nvim",
|
||||
"rev": "c2ef0115fb917460daf5c76fe3ad3a9357213b54",
|
||||
"rev": "381900d932db058aa3236ba66cc9f45747c0df71",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "glepnir",
|
||||
"repo": "lspsaga.nvim",
|
||||
"rev": "c2ef0115fb917460daf5c76fe3ad3a9357213b54",
|
||||
"rev": "381900d932db058aa3236ba66cc9f45747c0df71",
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
|
|
|
@ -63,7 +63,7 @@
|
|||
|
||||
# https://github.com/glepnir/lspsaga.nvim
|
||||
lspsaga-nvim = {
|
||||
url = "github:glepnir/lspsaga.nvim?rev=c2ef0115fb917460daf5c76fe3ad3a9357213b54";
|
||||
url = "github:glepnir/lspsaga.nvim?rev=381900d932db058aa3236ba66cc9f45747c0df71";
|
||||
flake = false;
|
||||
};
|
||||
|
||||
|
|
|
@ -8,6 +8,7 @@ saga.init_lsp_saga({
|
|||
code_action_keys = { quit = "<Esc>" },
|
||||
definition_action_keys = { quit = "<Esc>" },
|
||||
rename_action_quit = "<Esc>",
|
||||
symbol_in_winbar = { enable = false },
|
||||
})
|
||||
|
||||
-- always show signcolumns
|
||||
|
@ -17,8 +18,8 @@ vim.opt.signcolumn = "yes"
|
|||
-- See `:help vim.diagnostic.*` for documentation on any of the below functions
|
||||
local opts = { noremap = true, silent = true }
|
||||
vim.keymap.set("n", "<space>e", vim.diagnostic.open_float, opts)
|
||||
vim.keymap.set("n", "[c", "<Cmd>Lspsaga diagnostic_jump_prev<CR>", opts)
|
||||
vim.keymap.set("n", "]c", "<Cmd>Lspsaga diagnostic_jump_next<CR>", opts)
|
||||
vim.keymap.set("n", "[d", "<Cmd>Lspsaga diagnostic_jump_prev<CR>", opts)
|
||||
vim.keymap.set("n", "]d", "<Cmd>Lspsaga diagnostic_jump_next<CR>", opts)
|
||||
vim.keymap.set("n", "<space>q", vim.diagnostic.setloclist, opts)
|
||||
|
||||
-- Only jump to error
|
||||
|
|
Reference in a new issue