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
|
cmp_luasnip
|
||||||
copilot-cmp
|
copilot-cmp
|
||||||
direnv-vim
|
direnv-vim
|
||||||
|
friendly-snippets
|
||||||
lsp_lines-nvim
|
lsp_lines-nvim
|
||||||
lspkind-nvim
|
lspkind-nvim
|
||||||
lspsaga-nvim-original
|
lspsaga-nvim-original
|
||||||
|
|
|
@ -14,6 +14,7 @@ vim.api.nvim_create_autocmd("InsertEnter", {
|
||||||
callback = function()
|
callback = function()
|
||||||
local cmp = require("cmp")
|
local cmp = require("cmp")
|
||||||
local luasnip = require("luasnip")
|
local luasnip = require("luasnip")
|
||||||
|
require("luasnip.loaders.from_vscode").lazy_load()
|
||||||
require("copilot_cmp").setup()
|
require("copilot_cmp").setup()
|
||||||
|
|
||||||
cmp.setup({
|
cmp.setup({
|
||||||
|
|
Loading…
Reference in a new issue