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": {
|
"lspsaga-nvim": {
|
||||||
"flake": false,
|
"flake": false,
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1663371685,
|
"lastModified": 1664704370,
|
||||||
"narHash": "sha256-mxyqpgUWBiXC6Xm/5bb6fShZtgXGY1kBsl0DxOkf2zA=",
|
"narHash": "sha256-f0pwssdEI5mAO/Ov8E9DpT/E+5Xi3DvMjo4ui+TX3go=",
|
||||||
"owner": "glepnir",
|
"owner": "glepnir",
|
||||||
"repo": "lspsaga.nvim",
|
"repo": "lspsaga.nvim",
|
||||||
"rev": "c2ef0115fb917460daf5c76fe3ad3a9357213b54",
|
"rev": "381900d932db058aa3236ba66cc9f45747c0df71",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
"owner": "glepnir",
|
"owner": "glepnir",
|
||||||
"repo": "lspsaga.nvim",
|
"repo": "lspsaga.nvim",
|
||||||
"rev": "c2ef0115fb917460daf5c76fe3ad3a9357213b54",
|
"rev": "381900d932db058aa3236ba66cc9f45747c0df71",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
|
@ -63,7 +63,7 @@
|
||||||
|
|
||||||
# https://github.com/glepnir/lspsaga.nvim
|
# https://github.com/glepnir/lspsaga.nvim
|
||||||
lspsaga-nvim = {
|
lspsaga-nvim = {
|
||||||
url = "github:glepnir/lspsaga.nvim?rev=c2ef0115fb917460daf5c76fe3ad3a9357213b54";
|
url = "github:glepnir/lspsaga.nvim?rev=381900d932db058aa3236ba66cc9f45747c0df71";
|
||||||
flake = false;
|
flake = false;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -8,6 +8,7 @@ saga.init_lsp_saga({
|
||||||
code_action_keys = { quit = "<Esc>" },
|
code_action_keys = { quit = "<Esc>" },
|
||||||
definition_action_keys = { quit = "<Esc>" },
|
definition_action_keys = { quit = "<Esc>" },
|
||||||
rename_action_quit = "<Esc>",
|
rename_action_quit = "<Esc>",
|
||||||
|
symbol_in_winbar = { enable = false },
|
||||||
})
|
})
|
||||||
|
|
||||||
-- always show signcolumns
|
-- always show signcolumns
|
||||||
|
@ -17,8 +18,8 @@ vim.opt.signcolumn = "yes"
|
||||||
-- See `:help vim.diagnostic.*` for documentation on any of the below functions
|
-- See `:help vim.diagnostic.*` for documentation on any of the below functions
|
||||||
local opts = { noremap = true, silent = true }
|
local opts = { noremap = true, silent = true }
|
||||||
vim.keymap.set("n", "<space>e", vim.diagnostic.open_float, opts)
|
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", "[d", "<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_next<CR>", opts)
|
||||||
vim.keymap.set("n", "<space>q", vim.diagnostic.setloclist, opts)
|
vim.keymap.set("n", "<space>q", vim.diagnostic.setloclist, opts)
|
||||||
|
|
||||||
-- Only jump to error
|
-- Only jump to error
|
||||||
|
|
Reference in a new issue