mirror of
https://github.com/ViViDboarder/vim-settings.git
synced 2024-12-22 23:07:35 +00:00
Fix snippet expansion
This commit is contained in:
parent
b48edf86de
commit
5a1a907529
@ -8,9 +8,11 @@ function M.config_cmp()
|
|||||||
completeopt = "menuone,noinsert,noselect",
|
completeopt = "menuone,noinsert,noselect",
|
||||||
autocomplete = false,
|
autocomplete = false,
|
||||||
},
|
},
|
||||||
expand = function(args)
|
snippet = {
|
||||||
require("luasnip").lsp_expand(args.body)
|
expand = function(args)
|
||||||
end,
|
require("luasnip").lsp_expand(args.body)
|
||||||
|
end,
|
||||||
|
},
|
||||||
sources = {
|
sources = {
|
||||||
{ name = "nvim_lsp" },
|
{ name = "nvim_lsp" },
|
||||||
{ name = "luasnip" },
|
{ name = "luasnip" },
|
||||||
|
Loading…
Reference in New Issue
Block a user