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

lazydev: Lua no workspace found #11

Open
practicalli-johnny opened this issue Aug 1, 2024 · 2 comments
Open

lazydev: Lua no workspace found #11

practicalli-johnny opened this issue Aug 1, 2024 · 2 comments
Assignees

Comments

@practicalli-johnny
Copy link
Contributor

practicalli-johnny commented Aug 1, 2024

It should be safe to ignore this warning

When updating astro directly from the command line, lazydev.nvim reports an error with workspace not found

astro +:Lazy update

Error reported via Astro Notifications

No **LuaLS** workspace found.
Use `:LazyDev lsp` to see settings of attached LSP clients.

Screenshot:

image

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).

@practicalli-johnny
Copy link
Contributor Author

AstroNvim has replaced neodev.nvim with lazydev.nvim

Changelog: https://github.com/AstroNvim/AstroNvim/releases/tag/v4.22.0
Commit: AstroNvim/AstroNvim@0126d44

@practicalli-johnny
Copy link
Contributor Author

:LazyDev lsp when open in a Clojure workspace identifies the correct LSP server

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: No status
Development

No branches or pull requests

1 participant