-
-
Notifications
You must be signed in to change notification settings - Fork 13.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Missing lua dependency of the LuaSnip nvim plugin #306367
Comments
Indeed I know about the issue. I have it working locally and I am upstreaming the fixes hopefully before 24.05. I will keep you informed. |
With nixvim the workarround doesn't seems to work. |
Should be fixed by #309762 |
The PR has been merged. @pierrot-lc feel free to test :) |
Sadly it does not seem to be fixed. The warning is still raised. I think the issue is related to the way luasnip is installed by nix. The dependency |
We might need to wait for @teto's fix to get into master and/or unstable. |
As reported in several issues, lua plugin dependencies are not visible from neovim. This adds a test to make sure nvim can see jsregexp when luasnip is part of the wrapper see NixOS#306367 or NixOS#318925 for details
As reported in several issues, lua plugin dependencies are not visible from neovim. This adds a test to make sure nvim can see jsregexp when luasnip is part of the wrapper see NixOS#306367 or NixOS#318925 for details
As reported in several issues, lua plugin dependencies are not visible from neovim. This adds a test to make sure nvim can see jsregexp when luasnip is part of the wrapper see NixOS#306367 or NixOS#318925 for details
As reported in several issues, lua plugin dependencies are not visible from neovim. This adds a test to make sure nvim can see jsregexp when luasnip is part of the wrapper see NixOS#306367 or NixOS#318925 for details
As reported in several issues, lua plugin dependencies are not visible from neovim. This adds a test to make sure nvim can see jsregexp when luasnip is part of the wrapper see NixOS#306367 or NixOS#318925 for details
As reported in several issues, lua plugin dependencies are not visible from neovim. This adds a test to make sure nvim can see jsregexp when luasnip is part of the wrapper see NixOS#306367 or NixOS#318925 for details
As reported in several issues, lua plugin dependencies are not visible from neovim. This adds a test to make sure nvim can see jsregexp when luasnip is part of the wrapper see NixOS#306367 or NixOS#318925 for details
As reported in several issues, lua plugin dependencies are not visible from neovim. This adds a test to make sure nvim can see jsregexp when luasnip is part of the wrapper see NixOS#306367 or NixOS#318925 for details
As reported in several issues, lua plugin dependencies are not visible from neovim. This adds a test to make sure nvim can see jsregexp when luasnip is part of the wrapper see NixOS#306367 or NixOS#318925 for details
Describe the bug
I installed
vimPlugins.luasnip
. When running:checkhealth
, luasnip says that the dependencyjsregexp
is not found.Steps To Reproduce
Steps to reproduce the behavior:
vimPlugins.luasnip
:checkhealth
commandFor example, using home-manager:
Expected behavior
When installing the plugin, the lua package of the plugin is used instead (see here). That
luasnip
package should come withjsregexp
as described in its nix expression.Screenshots
Additional context
I noticed that the lua
jsregexp
package is indeed built by nix, along with the lualuasnip
package. So the error may come from the package not being added to the neovim lua runtime path.The error disappear when adding
jsregexp
inextraLuaPackages
like so:I managed to reproduce the error using kickstart-nvim.nix and nixvim as well.
Notify maintainers
@teto @GaetanLepage @mrcjkb
Metadata
Add a 👍 reaction to issues you find important.
The text was updated successfully, but these errors were encountered: