module(neovim): add snippet.expand with luasnip
This commit is contained in:
parent
976d857868
commit
bec1712f3f
|
@ -19,5 +19,10 @@
|
|||
keyword_length = 3;
|
||||
};
|
||||
preselect = "cmp.PreselectMode.None";
|
||||
snippet.expand = ''
|
||||
function(args)
|
||||
require('luasnip').lsp_expand(args.body)
|
||||
end
|
||||
'';
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue