diff options
| author | Craig Jennings <c@cjennings.net> | 2026-02-05 00:20:37 -0600 |
|---|---|---|
| committer | Craig Jennings <c@cjennings.net> | 2026-02-05 00:20:37 -0600 |
| commit | 337fd002603dbaeb25a682983f10fe4bb4e3a976 (patch) | |
| tree | 916d20b2693a60a886369c6db9ab8901524268f1 /assets/2026-02-03-languagetool-emacs.txt | |
| parent | 314ea2272c0f4ce4631cb2de0f03f6e3c67c1f1b (diff) | |
Diffstat (limited to 'assets/2026-02-03-languagetool-emacs.txt')
| -rw-r--r-- | assets/2026-02-03-languagetool-emacs.txt | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/assets/2026-02-03-languagetool-emacs.txt b/assets/2026-02-03-languagetool-emacs.txt new file mode 100644 index 0000000..10431d9 --- /dev/null +++ b/assets/2026-02-03-languagetool-emacs.txt @@ -0,0 +1,37 @@ +LanguageTool - Grammar Checker for Emacs +======================================== + +REQUIREMENT +----------- +LanguageTool is used by Emacs for on-demand grammar checking in prose +files (org-mode, markdown, text-mode). It integrates with Flycheck to +provide comprehensive grammar and style suggestions. + +USAGE IN EMACS +-------------- +- Press C-; ? in an org buffer to run grammar check +- Errors appear in the *Flycheck errors* buffer +- Catches issues like "This are wrong" -> "This is wrong" + +INSTALLATION +------------ +Arch Linux: + sudo pacman -S languagetool + +Note: This will also install a Java runtime (JDK) as a dependency, +approximately 900 MB total. + +VERIFICATION +------------ +After installation, verify with: + languagetool --version + +FILES +----- +- ~/.emacs.d/modules/flycheck-config.el (Flycheck integration) +- ~/.emacs.d/scripts/languagetool-flycheck (Python wrapper script) +- ~/.emacs.d/tests/test-flycheck-languagetool-setup.el (Unit tests) +- ~/.emacs.d/tests/test-integration-grammar-checking.el (Integration tests) + +The wrapper script converts LanguageTool's JSON output to Flycheck's +expected format (filename:line:column: message). |
