-
Notifications
You must be signed in to change notification settings - Fork 58
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 suggestions are unavailable from some places #109
Comments
That's on purpose. You don't want Neovim apis available in regular lua projects. Use the |
@folke I don't understand your response. It's a Neovim project. Yes, it's still a strange, legacy set of configurations started for Vim many years before Neovim began to exist, slowly evolving to rewrite it into Lua. You can also try to complete neodev2.mp4 |
Ah now I get what you mean. That's not a neodev issue. Sumneko issue. Not sure why that doesnt work |
Two side notes after digging into
|
That error should have been fixed a couple of days ago. Can you check again with the latest version? |
After adding two notification local config_root = vim.loop.fs_realpath(vim.fn.stdpath("config"))
vim.notify('config root type: ' .. type(config_root))
config_root = vim.fs.normalize(config_root)
vim.notify('config root: ' .. config_root) only the first gives the output (
i.e. is |
Fixed! |
Thanks! I also have some suggestions to make work on portable (non Lazy) environments more independent of the |
Did you check docs and existing issues?
Neovim version (nvim -v)
v0.9.0-dev-687+g8b86cb8f5
Operating system/version
Debian Sid
Describe the bug
First, maybe it's the issue for https://github.com/folke/neodev.nvim/discussions but it does not exist 😁
I cannot get Neodev suggestions inside a Lua file from non-typical path (
bundleConfig
in this example).Steps To Reproduce
/path/to/bin/nvim -u ~/tmp/neodev-min.lua
where~/tmp/neodev-min.lua
contents is shown belowvim.api.nvim_
using omnifunc (or uncomment cmp-specific pieces) in both open filesplugin
, does not inbundleConfig
neodev.mp4
Expected Behavior
Suggestions are available from any lua file inside the project root.
Repro
The text was updated successfully, but these errors were encountered: