added LuaSnip snippets for autocompletion and configuration for LuaSnip

This commit is contained in:
pr0c3550r 2023-01-21 22:13:16 +01:00
parent 411510a8cc
commit c9d6631136
2 changed files with 9 additions and 3 deletions

View file

@ -0,0 +1,2 @@
require("luasnip.loaders.from_vscode").lazy_load()

View file

@ -38,10 +38,14 @@ return require('packer').startup(function(use)
{'hrsh7th/cmp-buffer'}, {'hrsh7th/cmp-buffer'},
{'hrsh7th/cmp-path'}, {'hrsh7th/cmp-path'},
{'hrsh7th/cmp-cmdline'}, {'hrsh7th/cmp-cmdline'},
{'L3MON4D3/LuaSnip'}, {'L3MON4D3/LuaSnip',
{'saadparwaiz1/cmp_luasnip'}, requires = {
} {'rafamadriz/friendly-snippets'}
}
},
{'saadparwaiz1/cmp_luasnip'},
} }
}
end) end)