What is the purpose of extraLuaPackages
?
#1700
Unanswered
nicolas-goudry
asked this question in
Q&A
Replies: 1 comment 3 replies
-
Good question. It's defined here, but I can't find the actual implementation... Line 93 in 7a2a25a Based on uses, I'd say it's a wrapper on Therefore, adding luaPackages is unlikely to add the corresponding vim plugins to your runtimepath. Rather than adding Either use |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Just wondering what is the purpose of the
extraLuaPackages
option?I tried to use it to add Lua modules to my Nixvim config, but the modules are not available in Neovim…
For example, I once tried to add the inspect module in order to be able to pretty print tables in Neovim, but it didn’t work.
To be clear, Neovim works fine, but if I try to run
:lua print(require("inspect")({ test = "test" }))
it just fails with the following error message:Beta Was this translation helpful? Give feedback.
All reactions