feat(nvim): add snippets for luasnip
Add friendly snippets and load them with luasnip.
This commit is contained in:
parent
7ae552d698
commit
badc4ffa49
2 changed files with 2 additions and 0 deletions
|
@ -70,6 +70,7 @@ in
|
|||
cmp_luasnip
|
||||
copilot-cmp
|
||||
direnv-vim
|
||||
friendly-snippets
|
||||
lsp_lines-nvim
|
||||
lspkind-nvim
|
||||
lspsaga-nvim-original
|
||||
|
|
|
@ -14,6 +14,7 @@ vim.api.nvim_create_autocmd("InsertEnter", {
|
|||
callback = function()
|
||||
local cmp = require("cmp")
|
||||
local luasnip = require("luasnip")
|
||||
require("luasnip.loaders.from_vscode").lazy_load()
|
||||
require("copilot_cmp").setup()
|
||||
|
||||
cmp.setup({
|
||||
|
|
Loading…
Reference in a new issue