CMP: Change default neovim snippet engine to luasnip for expanding completions
This commit is contained in:
parent
98d48f72d6
commit
2df0125ef3
1 changed files with 1 additions and 1 deletions
|
|
@ -49,7 +49,7 @@ cmp.setup {
|
|||
-- Enable luasnip to handle snippet expansion for nvim-cmp
|
||||
snippet = {
|
||||
expand = function(args)
|
||||
vim.snippet.expand(args.body)
|
||||
require("luasnip").lsp_expand(args.body)
|
||||
end,
|
||||
},
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue