diff --git a/lua/plugs/nvim-lspconfig.lua b/lua/plugs/nvim-lspconfig.lua index 8ff50a8..51188af 100644 --- a/lua/plugs/nvim-lspconfig.lua +++ b/lua/plugs/nvim-lspconfig.lua @@ -52,7 +52,7 @@ return { { 'n', 'gD', 'lua vim.lsp.buf.declaration()' }, { 'n', 'gi', 'lua vim.lsp.buf.implementation()' }, { 'n', 'gr', 'lua vim.lsp.buf.references()' }, - { 'n', '', 'lua vim.lsp.buf.format()' }, + { 'n', '', 'lua vim.lsp.buf.format()' }, }) end @@ -85,18 +85,18 @@ return { fold_markers = { '', '' }, wrap = false, keymaps = { -- These keymaps can be a string or a table for multiple keys - close = { "", "q" }, - goto_location = "", - focus_location = "o", - hover_symbol = "", + close = { "", "q" }, + goto_location = "", + focus_location = "h", + hover_symbol = "", toggle_preview = "K", - rename_symbol = "r", - code_actions = "a", - fold = "h", - unfold = "l", - fold_all = "W", - unfold_all = "E", - fold_reset = "R", + rename_symbol = "r", + code_actions = "a", + fold = "o", + unfold = "l", + fold_all = "W", + unfold_all = "E", + fold_reset = "R", }, lsp_blacklist = {}, symbol_blacklist = {}, @@ -133,7 +133,7 @@ return { } require("symbols-outline").setup(opts) G.map({ - { "n", "", ":SymbolsOutline" }, + { "n", "", "SymbolsOutline" }, }) end },