nvim-cmp source for denippet.vim
require("cmp")({
snippet = {
expand = function(args)
if args.body ~= "" then
vim.fn["denippet#anonymous"](args.body)
end
end,
},
sources = {
{ name = "denippet" },
},
})
nvim-cmp source for denippet.vim
require("cmp")({
snippet = {
expand = function(args)
if args.body ~= "" then
vim.fn["denippet#anonymous"](args.body)
end
end,
},
sources = {
{ name = "denippet" },
},
})