diff --git a/lua/plugs/nvim-lspconfig.lua b/lua/plugs/nvim-lspconfig.lua index 44cf33c..cb43cfc 100644 --- a/lua/plugs/nvim-lspconfig.lua +++ b/lua/plugs/nvim-lspconfig.lua @@ -133,7 +133,7 @@ return { } require("symbols-outline").setup(opts) G.map({ - { "n", "", "SymbolsOutline", { noremap = true } }, + { "n", "o", "SymbolsOutline", { noremap = true } }, { "v", "", "SymbolsOutline", { noremap = true } }, }) end @@ -231,8 +231,7 @@ return { entries = { name = 'wildmenu', separator = '|' } }, sources = cmp.config.sources({ - { name = 'path' }, - { name = 'cmdline' }, + { name = 'buffer' }, }), mapping = cmp.mapping.preset.insert({ [''] = cmp.mapping.confirm({ select = true }),