This commit is contained in:
newbie 2023-11-28 07:46:34 +08:00
parent 32fda72951
commit d79e249e04

View File

@ -52,7 +52,7 @@ return {
{ 'n', 'gD', '<cmd>lua vim.lsp.buf.declaration()<CR>' },
{ 'n', 'gi', '<cmd>lua vim.lsp.buf.implementation()<CR>' },
{ 'n', 'gr', '<cmd>lua vim.lsp.buf.references()<CR>' },
{ 'n', '<c-I>', '<cmd>lua vim.lsp.buf.format()<CR>' },
{ 'n', '<C-I>', '<cmd>lua vim.lsp.buf.format()<CR>' },
})
end
@ -87,12 +87,12 @@ return {
keymaps = { -- These keymaps can be a string or a table for multiple keys
close = { "<Esc>", "q" },
goto_location = "<Cr>",
focus_location = "o",
focus_location = "h",
hover_symbol = "<C-space>",
toggle_preview = "K",
rename_symbol = "r",
code_actions = "a",
fold = "h",
fold = "o",
unfold = "l",
fold_all = "W",
unfold_all = "E",
@ -133,7 +133,7 @@ return {
}
require("symbols-outline").setup(opts)
G.map({
{ "n", "<c-O>", ":SymbolsOutline<cr>" },
{ "n", "<C-O>", "<cmd>SymbolsOutline<cr>" },
})
end
},