feat(nvim): add snippets for luasnip
Add friendly snippets and load them with luasnip.nixos
parent
7ae552d698
commit
badc4ffa49
|
@ -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 New Issue