diff options
| author | Vito G. Graffagnino <vito@graffagnino.xyz> | 2022-06-03 14:51:10 +0100 |
|---|---|---|
| committer | Vito G. Graffagnino <vito@graffagnino.xyz> | 2022-06-03 14:51:10 +0100 |
| commit | 00f61b3600ef40c0a94a3897a5da6d7d3de8b39a (patch) | |
| tree | 4e134da1376d8506fbc0c4b2177535cd8c2b3f5a /lua/user/cmp.lua | |
| parent | 87b3c29b07ff5390188af5815e0290c854549829 (diff) | |
| parent | e60e3e816a1f9fe8338733734286c3c56e58f944 (diff) | |
Merge branch '06-LSP' into vgg
Diffstat (limited to 'lua/user/cmp.lua')
| -rw-r--r-- | lua/user/cmp.lua | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lua/user/cmp.lua b/lua/user/cmp.lua index 9f5f48b..2966f5f 100644 --- a/lua/user/cmp.lua +++ b/lua/user/cmp.lua @@ -101,6 +101,8 @@ cmp.setup { vim_item.kind = string.format("%s", kind_icons[vim_item.kind]) -- vim_item.kind = string.format('%s %s', kind_icons[vim_item.kind], vim_item.kind) -- This concatonates the icons with the name of the item kind vim_item.menu = ({ + nvim_lsp = "[LSP]", + nvim_lua = "[NVIM_LUA]", luasnip = "[Snippet]", buffer = "[Buffer]", path = "[Path]", @@ -109,6 +111,8 @@ cmp.setup { end, }, sources = { + { name = "nvim_lsp" }, + { name = "nvim_lua" }, { name = "luasnip" }, { name = "buffer" }, { name = "path" }, |
