ad
This commit is contained in:
parent
32fda72951
commit
d79e249e04
@ -52,7 +52,7 @@ return {
|
|||||||
{ 'n', 'gD', '<cmd>lua vim.lsp.buf.declaration()<CR>' },
|
{ 'n', 'gD', '<cmd>lua vim.lsp.buf.declaration()<CR>' },
|
||||||
{ 'n', 'gi', '<cmd>lua vim.lsp.buf.implementation()<CR>' },
|
{ 'n', 'gi', '<cmd>lua vim.lsp.buf.implementation()<CR>' },
|
||||||
{ 'n', 'gr', '<cmd>lua vim.lsp.buf.references()<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
|
end
|
||||||
@ -85,18 +85,18 @@ return {
|
|||||||
fold_markers = { '', '' },
|
fold_markers = { '', '' },
|
||||||
wrap = false,
|
wrap = false,
|
||||||
keymaps = { -- These keymaps can be a string or a table for multiple keys
|
keymaps = { -- These keymaps can be a string or a table for multiple keys
|
||||||
close = { "<Esc>", "q" },
|
close = { "<Esc>", "q" },
|
||||||
goto_location = "<Cr>",
|
goto_location = "<Cr>",
|
||||||
focus_location = "o",
|
focus_location = "h",
|
||||||
hover_symbol = "<C-space>",
|
hover_symbol = "<C-space>",
|
||||||
toggle_preview = "K",
|
toggle_preview = "K",
|
||||||
rename_symbol = "r",
|
rename_symbol = "r",
|
||||||
code_actions = "a",
|
code_actions = "a",
|
||||||
fold = "h",
|
fold = "o",
|
||||||
unfold = "l",
|
unfold = "l",
|
||||||
fold_all = "W",
|
fold_all = "W",
|
||||||
unfold_all = "E",
|
unfold_all = "E",
|
||||||
fold_reset = "R",
|
fold_reset = "R",
|
||||||
},
|
},
|
||||||
lsp_blacklist = {},
|
lsp_blacklist = {},
|
||||||
symbol_blacklist = {},
|
symbol_blacklist = {},
|
||||||
@ -133,7 +133,7 @@ return {
|
|||||||
}
|
}
|
||||||
require("symbols-outline").setup(opts)
|
require("symbols-outline").setup(opts)
|
||||||
G.map({
|
G.map({
|
||||||
{ "n", "<c-O>", ":SymbolsOutline<cr>" },
|
{ "n", "<C-O>", "<cmd>SymbolsOutline<cr>" },
|
||||||
})
|
})
|
||||||
end
|
end
|
||||||
},
|
},
|
||||||
|
Loading…
Reference in New Issue
Block a user