Skip to content

Commit

Permalink
Fix dictionary quick fix missing for de-AT, de-CH
Browse files Browse the repository at this point in the history
  • Loading branch information
valentjn committed Oct 19, 2021
1 parent 3339f26 commit ac0a00b
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
3 changes: 3 additions & 0 deletions changelog.xml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,9 @@
<action type="add" issue="vscode-ltex#409">
Add support for completion requests for English and German
</action>
<action type="fix" issue="vscode-ltex#431">
Fix `Add '...' to dictionary` quick fix missing for Austrian and Swiss German
</action>
<action type="update">
Move documentation to &lt;https://valentjn.github.io/ltex&gt;
</action>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -114,11 +114,11 @@ data class LanguageToolRuleMatch(
return ((ruleId != null) && (
ruleId.startsWith("MORFOLOGIK_")
|| ruleId.startsWith("HUNSPELL_")
|| ruleId.startsWith("GERMAN_SPELLER_")
|| ruleId.endsWith("_SPELLER_RULE")
|| ruleId.endsWith("_SPELLING_RULE")
|| (ruleId == "MUZSKY_ROD_NEZIV_A")
|| (ruleId == "ZENSKY_ROD_A")
|| (ruleId == "STREDNY_ROD_A")
|| (ruleId == "FR_SPELLING_RULE")))
|| (ruleId == "STREDNY_ROD_A")))
}
}
}

0 comments on commit ac0a00b

Please sign in to comment.