Skip to content
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

bug: Neodev does not load in other worksapce. #183

Open
3 tasks done
Jaehaks opened this issue Feb 13, 2024 · 0 comments
Open
3 tasks done

bug: Neodev does not load in other worksapce. #183

Jaehaks opened this issue Feb 13, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@Jaehaks
Copy link

Jaehaks commented Feb 13, 2024

Did you check docs and existing issues?

  • I have read all the neodev.nvim docs
  • 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.9.4

Operating system/version

Windows 10

Describe the bug

When I open a file in configuration directory initialy, Neodev recognizes global 'vim' variable.
LSP has workspace like .config/nvim. (:LspInfo)

but If I open the other file which is in other workspace like ".config/nvim-data/~" (when using go to definition),
neodev recognition of the lua file is disabled at a file that is initially opened.

I expect that neodev not reload depending on workspace.

This is my config file,
although I setup 'override' to operate Neodev in any workspace, it does not work
image

Steps To Reproduce

  1. open any configuration file in .config/nvim/lua ex) nvim-lspconfig.lua
  2. confirm that load workspace lsp (then 'vim' is highlighted)
    image
  3. go to definition to vim.keymap.set()
    image
  4. come back to origin file (nvim-lspconfig.lua) using :bn
    image

Expected Behavior

Neodev apply to lsp in all workspace/folders
(at least, config folders like .config/nvim , .config/nvim-data)

Repro

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant