This commit is contained in:
newbie 2023-11-26 18:09:36 +08:00
parent a1a519ee04
commit 55009edec1

View File

@ -78,7 +78,7 @@ return {
{ name = 'nvim_lsp' }, { name = 'nvim_lsp' },
{ name = 'buffer' }, { name = 'buffer' },
{ name = 'path' }, { name = 'path' },
-- { name = 'cmdline' }, { name = 'cmdline' },
}), }),
mapping = cmp.mapping.preset.insert({ mapping = cmp.mapping.preset.insert({
['<CR>'] = cmp.mapping.confirm({ select = true }), ['<CR>'] = cmp.mapping.confirm({ select = true }),
@ -193,6 +193,9 @@ return {
Fragment = { icon = "", hl = "@constant" }, Fragment = { icon = "", hl = "@constant" },
},} },}
require("symbols-outline").setup(opts) require("symbols-outline").setup(opts)
G.map({
{"n", "<leader>o", ":SymbolsOutline<cr>"},
})
end end
}, },
{ {