Compare commits

...

2 commits

Author SHA1 Message Date
raf
9b11e6e938
Merge pull request #1012 from rrvsh/fix/luasnip-nvim-cmp
Some checks are pending
Set up binary cache / cachix (default) (push) Waiting to run
Set up binary cache / cachix (maximal) (push) Waiting to run
Set up binary cache / cachix (nix) (push) Waiting to run
Treewide Checks / Validate flake (push) Waiting to run
Treewide Checks / Check formatting (push) Waiting to run
Treewide Checks / Check source tree for typos (push) Waiting to run
Treewide Checks / Validate documentation builds (push) Waiting to run
Treewide Checks / Validate hyperlinks in documentation sources (push) Waiting to run
Treewide Checks / Validate Editorconfig conformance (push) Waiting to run
Build and deploy documentation / Check latest commit (push) Waiting to run
Build and deploy documentation / publish (push) Blocked by required conditions
fix(snippets/luasnip): enable vscode snippet loader
2025-07-17 16:34:15 +03:00
Mohammad Rafiq
0d394c9db0
fix(snippets/luasnip): enable vscode snippet loader
nvim-cmp and friendly-snippets depend on the vscode
luasnip loader. previously we only set snipmate
2025-07-17 17:56:37 +08:00

View file

@ -65,6 +65,9 @@ in {
${optionalString ( ${optionalString (
cfg.customSnippets.snipmate != {} cfg.customSnippets.snipmate != {}
) "require('luasnip.loaders.from_snipmate').lazy_load()"} ) "require('luasnip.loaders.from_snipmate').lazy_load()"}
${optionalString (
config.vim.autocomplete.nvim-cmp.enable || config.vim.autocomplete.blink-cmp.friendly-snippets.enable
) "require('luasnip.loaders.from_vscode').lazy_load()"}
''; '';
}; };
}; };