You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Some LSP provide a way to disable their diagnostics. For example,
---@diagnosticsdisable
I think this would be a good feature to add to harper_ls as some files can easily create 1000s of warnings otherwise.
Proposed solution
Provide a way to disable the diagnostics on specific lines.
<!-- @harper disable -->
a line that doesn't start with a capital letter
<!-- @harper enable -->
Or something like
---@harper disable-next-line---@parambufinteger?localfunctiondo_stuf (buf)
-- Do something hereend
It might be a good idea to disable specific rules too.
// Ignores only capitalization warnings// @harper disable capital// Ignores spelling mistakes// @harper disable spell// Ignores too many spaces warning// @harper disable whitespace// Ignore warnings on lines that are too long// @harper disable length
The text was updated successfully, but these errors were encountered:
Some LSP provide a way to disable their diagnostics. For example,
---@diagnostics disable
I think this would be a good feature to add to
harper_ls
as some files can easily create 1000s of warnings otherwise.Proposed solution
Provide a way to disable the diagnostics on specific lines.
Or something like
It might be a good idea to disable specific rules too.
The text was updated successfully, but these errors were encountered: