vim: switch snippy for vsnip

This commit is contained in:
Sam W 2023-04-17 14:25:34 +01:00
parent 098307eac9
commit 780b0969ed
2 changed files with 3 additions and 3 deletions

View File

@ -13,8 +13,8 @@
nvim-lspconfig
nvim-cmp
cmp-nvim-lsp
nvim-snippy
cmp-snippy
cmp-vsnip
vim-vsnip
# Language specific
go-nvim
rust-vim

View File

@ -15,7 +15,7 @@ cmp.setup({
-- Use snippy for completion
snippet = {
expand = function(args)
require('snippy').expand_snippet(args.body)
vim.fn["vsnip#anonymous"](args.body)
end,
},
-- Disable completions if we're in a comment