From a1c9ef545ca3969f6fe55db676146a27cfc4fec6 Mon Sep 17 00:00:00 2001 From: newbie Date: Mon, 18 Dec 2023 23:34:23 +0800 Subject: [PATCH] update --- lua/plugs/nvim-lspconfig.lua | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) 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 }),