Closed rememberYou closed 5 years ago
@mhayashi1120 First of all, thank you for your work for this wonderful package.
I know you don't have much time right now, but can you merge this pull request? This problem is urgent to solve because users can no longer use langtool-disabled-rules
with langtool-check
.
Merged. Thanks!
Fix the issue with
langtool-disabled-rules
for the v2 API of LanguageTool.To reproduce the issue, you need to set the
langtool-disabled-rules
variable to something different thannil
:(setq langtool-disabled-rules '("WHITESPACE_RULE"))
Then, you open a buffer
M-x switch-to-buffer
and uselangtool-check
. This, will cause the following error:Error: You specified 'disabled' but the parameter is now called 'disabledRules' in v2 of the API