-
-
Notifications
You must be signed in to change notification settings - Fork 9
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
Possibility to disable rules on a per-mode basis #40
Comments
Maybe try tweak these variables: Lines 95 to 105 in 84d9cd8
|
Thanks. I was assuming these are global variables. I mean we could set them buffer-locally when entering the respective text-based mode. It would be nice to have this feature available from the LSP action. That is, disable this rule for this major mode. I tried doing the following:
But that doesn't really work, I think because Also, I would actually like to disable this rule for all languages 😄, another complication. |
Yeah, you are right. I haven't looked at the code for a long time, so it will take me some time to rework this. 🤔 BTW, PRs are always welcome! |
For example, the
WHITESPACE_RULE
is useful many times, but not in a Git commit buffer.The text was updated successfully, but these errors were encountered: