Commit Graph

8 Commits

Author SHA1 Message Date
Arif Er 00f9ab19ac chore: update copyright headers to 2022
The script used to identify and update the change is added into the GitHub
workflows script directory. A workflow action can be created to trigger the
script to update the headers on the first of every new year. Possibly a task for
a consequent PR.
2022-06-03 17:32:20 +02:00
emiltoacs 088493ab0e
[languagetool] fix for non standard language code (#15216)
* [languagetool] fix for non standard language code

In the language tool layer, the `languagetool-get-language` function is used to
deduce the correct language code for languagetool from the variable
`ispell-local-dictionary`, `ispell-dictionary`, or from the list
`ispell-dicts-name2locale-equivs-alist` by replacing dash by underscore. However
many lanagetool codes are not formatted consistently with what can be found in
ispell, check `languagetool --list <file>` for the exact list.

Therefore I created this list of convertion between ispell codes and lanagetool
codes.

* [languagetool] Reorder language code by usage

* [languagetool] translate non-obvious language code

special-case handle the translation when a simple conversion from underscore to
dash does not work

Co-authored-by: emiltoacs <mil@evo.nomail>
2022-01-01 14:36:12 +01:00
syl20bnr 97cd83e169 Apply GPLv3 terms explicitly to all elisp files 2021-03-25 22:59:32 -04:00
Maximilian Wolff 6111b27945
[languagetool] Fix missing autoload on `langtool-correct-buffer`
Fix #14390
2021-02-22 22:59:03 +01:00
Richard Petri e98d865e61 [layers/+tools/languagetool] Allow HTTP server instead of binary 2020-10-15 23:12:41 +02:00
emacspace 8fff0ea4ee documentation formatting: Sat Oct 3 18:54:32 UTC 2020 2020-10-03 22:24:57 +03:00
JAremko 3c1a58f8c6 add Features HL to LanguageTool readme 2020-10-03 21:52:09 +03:00
Robbert van der Helm 14dcebd4a3 Add a layer for LanguageTool support
LanguageTool is an automated proofreader and grammar checker. This layer adds
the ability to check the current buffer's contents using LanguageTool.
2020-09-17 14:05:20 +02:00