feat(check): allow ignoring specific languages#274
Conversation
Still TODO: add this as a config option? But maybe it's fine as just a CLI flag, since it is mostly just a QOL change around the `directories` flag. Plus, someone using the server interactively in an editor will still want diagnostics when opening queries for an ignored language, presumably. Fixes #271
66bb42e to
3963b85
Compare
|
Thanks! That would be enough to address my use case, I think. But to clarify:
The reason I am interested in such an option is not that I don't want diagnostics for some files, but that I have some files where the serve will error because there is no parser available. And that may happen in editors as well. |
|
Oh, like the ABI is too low such that the LSP actually errors on loading the parser? Does it give an error diagnostic in this case? just curious |
|
No, my use case is if I don't have the parser installed at all (for various reasons including but not limited to obsolete ABI), but I run checks on a |
Still TODO: add this as a config option? But maybe it's fine as just a CLI flag, since it is mostly just a QOL change around the
directoriesflag. Plus, someone using the server interactively in an editor will still want diagnostics when opening queries for an ignored language, presumably.Fixes #271