I have trouble[1] using lsp_signature[2] with neovim-9999. It turns out the cause is that plugin needs luajit or >=lua-5.2. Also, the developer of that plugin says, "Lots of neovim plugins built on LuaJIT. And programmer is presuming the LuaJIT is available by default".[3] So, maybe defaulting to luajit instead of lua-5.1 is a good idea? [1]: https://github.com/ray-x/lsp_signature.nvim/issues/29 [2]: https://github.com/ray-x/lsp_signature.nvim [3]: https://github.com/ray-x/lsp_signature.nvim/issues/29#issuecomment-860193030
The "Third-party dependencies" of neovim build guide explicitly lists luajit as dependency: https://github.com/neovim/neovim/wiki/Building-Neovim#third-party-dependencies I think we should always depend on luajit
I have been researching this today, and the support channel for neovim at libera.chat, unanimously told me to use luajit instead of lua5.1, not sure why it isn't the default already.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=89b6ec419c5d45364bf2b051246e19f908630661 commit 89b6ec419c5d45364bf2b051246e19f908630661 Author: Matt Turner <mattst88@gentoo.org> AuthorDate: 2022-04-01 01:41:35 +0000 Commit: Matt Turner <mattst88@gentoo.org> CommitDate: 2022-04-04 21:37:12 +0000 profiles: Prefer luajit for app-editors/neovim Closes: https://bugs.gentoo.org/795768 Closes: https://github.com/gentoo/gentoo/pull/24842 Signed-off-by: Matt Turner <mattst88@gentoo.org> profiles/base/package.use | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-)
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=46304c70d7a441ea6828eeee5f9668edbf39a87b commit 46304c70d7a441ea6828eeee5f9668edbf39a87b Author: Matt Turner <mattst88@gentoo.org> AuthorDate: 2022-04-04 21:55:20 +0000 Commit: Matt Turner <mattst88@gentoo.org> CommitDate: 2022-04-04 21:56:21 +0000 profiles: Expand LUA_TARGETS Apparently I cannot use this syntax in profiles/? Bug: https://bugs.gentoo.org/795768 Signed-off-by: Matt Turner <mattst88@gentoo.org> profiles/base/package.use | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-)