neovim: add extraLuaPackages to neovim, fixes #1964.#1970
neovim: add extraLuaPackages to neovim, fixes #1964.#1970ashinkarov wants to merge 4 commits intonix-community:masterfrom
extraLuaPackages to neovim, fixes #1964.#1970Conversation
Similarly to extraPytonPackages, we add extraLuaPackages that make lua libraries available at runtime.
sumnerevans
left a comment
There was a problem hiding this comment.
Just a couple questions. I think this looks pretty good, though.
|
To address your comment in the original comment: I am pretty sure this is backwards compatible. No existing configs will break with this change. |
|
@ashinkarov please run |
|
we can keep the interface but the logic should be moved to nixpkgs in the long term. Also worth a test. |
Done. |
@teto , I have tried extending neovim tests in the last commit. However, I am having trouble when executing the instance of ${programs.neovim}/bin/nvim -c "lua require('lua-utf8')" -c "q"(seems like it is stuck in an infinite loop). Sorry for stupid questions, but I have zero familiarity with the framework. |
|
Thank you for your contribution! I marked this pull request as stale due to inactivity. If this remains inactive for another 7 days, I will close this PR. Please read the relevant sections below before commenting. If you are the original author of the PR
If you are not the original author of the issue
|
Description
Extend neovim program to allow specifying additional lua libraries that will become available to neovim at runtime. See #1964 for further details.
Checklist
Change is backwards compatible.
Code formatted with
./format.Code tested through
nix-shell --pure tests -A run.all. The tests die on my machine, but aparently for the reasons that has nothing to do with my changes. I hope that github's CI would pick it up so we can discuss what's going on.Test cases updated/added. See example. I am not sure whether this change needs any tests. Does it?
Commit messages are formatted like