diff --git a/flake.lock b/flake.lock index 1d4c5cf..2b50ae3 100644 --- a/flake.lock +++ b/flake.lock @@ -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" } }, diff --git a/flake.nix b/flake.nix index 252366b..fb88a47 100644 --- a/flake.nix +++ b/flake.nix @@ -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; }; diff --git a/plugins/lsp/lspconfig.lua b/plugins/lsp/lspconfig.lua index d07b43e..76bac3b 100644 --- a/plugins/lsp/lspconfig.lua +++ b/plugins/lsp/lspconfig.lua @@ -8,6 +8,7 @@ saga.init_lsp_saga({ code_action_keys = { quit = "" }, definition_action_keys = { quit = "" }, rename_action_quit = "", + 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", "e", vim.diagnostic.open_float, opts) -vim.keymap.set("n", "[c", "Lspsaga diagnostic_jump_prev", opts) -vim.keymap.set("n", "]c", "Lspsaga diagnostic_jump_next", opts) +vim.keymap.set("n", "[d", "Lspsaga diagnostic_jump_prev", opts) +vim.keymap.set("n", "]d", "Lspsaga diagnostic_jump_next", opts) vim.keymap.set("n", "q", vim.diagnostic.setloclist, opts) -- Only jump to error