fix: update telegraf

This commit is contained in:
2024-02-22 20:26:43 +08:00
parent fad2c5fed9
commit b1698fb7cf
2 changed files with 14 additions and 11 deletions
+2
View File
@@ -63,5 +63,7 @@
"trouble.nvim": { "branch": "main", "commit": "f1168feada93c0154ede4d1fe9183bf69bac54ea" },
"vim-illuminate": { "branch": "master", "commit": "305bf07b919ac526deb5193280379e2f8b599926" },
"vim-startuptime": { "branch": "master", "commit": "308b0088a864c4711a96e45b6734cf9294074f65" },
"vim-vsnip": { "branch": "master", "commit": "02a8e79295c9733434aab4e0e2b8c4b7cea9f3a9" },
"vim-vsnip-integ": { "branch": "master", "commit": "1914e72cf3de70df7f5dde476cd299aba2440aef" },
"which-key.nvim": { "branch": "main", "commit": "4433e5ec9a507e5097571ed55c02ea9658fb268a" }
}
+12 -11
View File
@@ -60,17 +60,14 @@ local function opts_func (_, opts)
}),
snippet = {
expand = function(args)
-- For `vsnip` users.
-- For `vsnip` users.
vim.fn["vsnip#anonymous"](args.body)
-- For `luasnip` users.
-- require('luasnip').lsp_expand(args.body)
-- For `ultisnips` users.
-- vim.fn["UltiSnips#Anon"](args.body)
-- For `snippy` users.
-- require'snippy'.expand_snippet(args.body)
-- -- For `luasnip` users.
-- -- require('luasnip').lsp_expand(args.body)
-- -- For `ultisnips` users.
-- -- vim.fn["UltiSnips#Anon"](args.body)
-- -- For `snippy` users.
-- -- require'snippy'.expand_snippet(args.body)
end,
},
}
@@ -79,7 +76,11 @@ end
return {
{
"nvim-cmp",
dependencies = { "hrsh7th/cmp-emoji" },
dependencies = {
"hrsh7th/cmp-emoji",
'hrsh7th/vim-vsnip',
'hrsh7th/vim-vsnip-integ',
},
opts = opts_func,
},
}