Skip to content

How can I disable workspace diagnostics #57

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

Closed
nemya9066 opened this issue Feb 9, 2021 · 2 comments
Closed

How can I disable workspace diagnostics #57

nemya9066 opened this issue Feb 9, 2021 · 2 comments

Comments

@nemya9066
Copy link

Hello whenever I edit a lua file in my home directory the workspace diagnostic feature is killing my cpu (my bad I have an old machine not a problem with performance) don't know what this feature does and don't care completion working fine please what option to disable it?
I tried setting "Lua.diagnostics.workspaceDelay" to -1 as the README said that a negative value would disable the feature but it didn't any help?

@nemya9066
Copy link
Author

it seems that ignoring my . directory with "Lua.workspace.ignoreDir" does help still isn't there a simple option to only check for opened files?

@josa42
Copy link
Owner

josa42 commented Mar 1, 2021

You could disable diagnostics all together by setting Lua.diagnostics.enable to false.
Please, report issues with lua-language-server here: https://github.com/sumneko/lua-language-server

See also:

@josa42 josa42 closed this as completed Mar 1, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants