plugin config(symbols outline, catpuccin, lsp)

This commit is contained in:
Christian Nieves
2022-10-25 16:42:49 +00:00
parent 10714e9258
commit 2e96f14059
5 changed files with 79 additions and 31 deletions

View File

@ -1,4 +1,23 @@
require("symbols-outline").setup()
require("symbols-outline").setup(
{
show_relative_numbers = true,
keymaps = { -- These keymaps can be a string or a table for multiple keys
-- close = {"<Esc>", "q"},
-- goto_location = "<Cr>",
-- focus_location = "o",
-- hover_symbol = "<C-space>",
toggle_preview = "L",
-- rename_symbol = "r",
-- code_actions = "a",
-- fold = "h",
-- unfold = "l",
fold_all = "H",
unfold_all = "L",
fold_reset = "R",
},
}
)
local map = require("utils").map
map('n', '<leader>so', ':SymbolsOutline<cr>')
map('n', '<leader>o', ':SymbolsOutline<cr>')