diff options
Diffstat (limited to 'lua/config/nvim-cmp.lua')
| -rw-r--r-- | lua/config/nvim-cmp.lua | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/lua/config/nvim-cmp.lua b/lua/config/nvim-cmp.lua index e9f5781..c4547dc 100644 --- a/lua/config/nvim-cmp.lua +++ b/lua/config/nvim-cmp.lua @@ -35,6 +35,7 @@ cmp.setup({ { name = 'nvim_lua' }, -- for nvim lua function { name = 'path' }, -- for path completion { name = 'buffer', keyword_length = 4 }, -- for buffer word completion + { name = 'omni' }, { name = 'emoji', insert = true, } -- emoji completion }, completion = { @@ -47,14 +48,15 @@ cmp.setup({ formatting = { format = lspkind.cmp_format({ mode = "symbol_text", - menu = { + menu = ({ nvim_lsp = "[LSP]", ultisnips = "[US]", nvim_lua = "[Lua]", path = "[Path]", buffer = "[Buffer]", emoji = "[Emoji]", - }, + omni = "[Omni]", + }), }), }, }) |
