feat(nvim): add snippets for luasnip

Add friendly snippets and load them with luasnip.
nixos
Moritz Böhme 2023-04-10 21:55:40 +02:00
parent 7ae552d698
commit badc4ffa49
Signed by: moritz
GPG Key ID: 970C6E89EB0547A9
2 changed files with 2 additions and 0 deletions

View File

@ -70,6 +70,7 @@ in
cmp_luasnip
copilot-cmp
direnv-vim
friendly-snippets
lsp_lines-nvim
lspkind-nvim
lspsaga-nvim-original

View File

@ -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({