-
-
Notifications
You must be signed in to change notification settings - Fork 11
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
lazydev: Lua no workspace found #11
Comments
AstroNvim has replaced neodev.nvim with lazydev.nvim Changelog: https://github.com/AstroNvim/AstroNvim/releases/tag/v4.22.0 |
How did you make it consider the workspace in a project? I mean, mine doesn't work even when I create an empty file. I'm using lazyvim. Is there a way to disable this option? Or how can I configure it? Before, I just downloaded it and put it in my nvim folder and it worked normally. Why doesn't it work automatically now? |
I do not use Lazy plugin manager in Neovim headless mode (and don't recommend that approach) TODO: update the install guide to mention this limitation https://practical.li/neovim/install/neovim/#install-neovim-plugins |
When updating astro directly from the command line, lazydev.nvim reports an error with workspace not found
Error reported via Astro Notifications
Screenshot:
Assumption
As there are no files open then there is no well defined project or 'workspace' so LSP doesnt know what to do.
This only happened 1st August, so perhaps lazydev.nvim is a new package and would benefit from some config.
Running
:LazyDev lsp
as the notification suggested returns an empty notification (assumption: there is no file so no associated LSP mode, so no LSP servers to report, hence an empty notification. If the command was failing, I assume an error would be shown or no notification at all).The text was updated successfully, but these errors were encountered: