fix(nvim): re-enable luasnip
This commit is contained in:
parent
aa240a91d1
commit
eb0b879bea
@ -28,12 +28,16 @@
|
||||
})
|
||||
'';
|
||||
};
|
||||
snippet = {
|
||||
expand = "function(args) require('luasnip').lsp_expand(args.body) end";
|
||||
};
|
||||
sources = {
|
||||
__raw = ''
|
||||
cmp.config.sources({
|
||||
{name = 'nvim_lsp'},
|
||||
{name = 'copilot'},
|
||||
{name = 'path'},
|
||||
{name = 'luasnip'},
|
||||
{name = 'cmdline'},
|
||||
}, {
|
||||
{name = 'buffer'},
|
||||
@ -69,6 +73,7 @@
|
||||
cmp-path.enable = true;
|
||||
};
|
||||
extraConfigLua = ''
|
||||
luasnip = require("luasnip")
|
||||
kind_icons = {
|
||||
Text = "",
|
||||
Method = "",
|
||||
|
@ -38,7 +38,7 @@
|
||||
|
||||
./none-ls/none-ls.nix
|
||||
|
||||
# ./snippets/luasnip.nix
|
||||
./snippets/luasnip.nix
|
||||
|
||||
./statusline/lualine.nix
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user