You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have searched the existing issues of neodev.nvim
I have searched the existing issues of plugins related to this issue
Neovim version (nvim -v)
v0.10.0-dev-186+g191e8b406
Operating system/version
Linux
Describe the bug
Before closing this issue again, please be aware that this issue only occurs when neodev.nvim is enabled. This bug does not occur with a bare lspconfig setup.
Required modules are not resolved correctly after the second opened project and onwards. Running vim.lsp.buf.hover over a module string will not display the resolved path, but the byte length of the string. The return value of the required module, of course, is also not resolved.
Steps To Reproduce
Run nvim -u init.lua
Open a file from a lua project that contains some require calls.
Press K over a required module string
Open another file from a different lua project root
Press K over a required module string
Set enabled to false in neodev.nvim's plugin table
Did you check docs and existing issues?
Neovim version (nvim -v)
v0.10.0-dev-186+g191e8b406
Operating system/version
Linux
Describe the bug
Before closing this issue again, please be aware that this issue only occurs when
neodev.nvim
is enabled. This bug does not occur with a barelspconfig
setup.Required modules are not resolved correctly after the second opened project and onwards. Running
vim.lsp.buf.hover
over a module string will not display the resolved path, but the byte length of the string. The return value of the required module, of course, is also not resolved.Steps To Reproduce
nvim -u init.lua
require
calls.K
over a required module stringK
over a required module stringenabled
tofalse
inneodev.nvim
's plugin tableExpected Behavior
Required modules should be resolved correctly.
Repro
The text was updated successfully, but these errors were encountered: