Fix nvim-cmp sources
This commit is contained in:
parent
2bbf7655c9
commit
52e30d61d1
1 changed files with 2 additions and 2 deletions
|
|
@ -89,7 +89,7 @@ local luasnip = require('luasnip')
|
||||||
|
|
||||||
cmp.setup({
|
cmp.setup({
|
||||||
sources = {
|
sources = {
|
||||||
{ names = 'nvim_lsp', },
|
{ name = 'nvim_lsp', },
|
||||||
{ name = 'buffer' },
|
{ name = 'buffer' },
|
||||||
{ name = 'path' },
|
{ name = 'path' },
|
||||||
{ name = 'nvim_lua' },
|
{ name = 'nvim_lua' },
|
||||||
|
|
@ -99,7 +99,7 @@ cmp.setup({
|
||||||
disable_omnifuncs = { 'v:lua.vim.lsp.omnifunc' }
|
disable_omnifuncs = { 'v:lua.vim.lsp.omnifunc' }
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{ names = 'luasnip', }, -- TODO: add snippets
|
{ name = 'luasnip', }, -- TODO: add snippets
|
||||||
},
|
},
|
||||||
|
|
||||||
formatting = {
|
formatting = {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue