aboutsummaryrefslogtreecommitdiff
path: root/modules/weather-config.el
diff options
context:
space:
mode:
authorCraig Jennings <c@cjennings.net>2025-11-04 23:26:42 -0600
committerCraig Jennings <c@cjennings.net>2025-11-04 23:26:42 -0600
commitea6022eac08fd80cba0d02b8afe1fa8f942b40f2 (patch)
treeaf79eb0c5863b0e6f904876e4be1d32b0603646c /modules/weather-config.el
parent002cadf286d63029cebfc7993fd2a76e51446d68 (diff)
downloaddotemacs-ea6022eac08fd80cba0d02b8afe1fa8f942b40f2.tar.gz
dotemacs-ea6022eac08fd80cba0d02b8afe1fa8f942b40f2.zip
feat: Add LanguageTool integration for comprehensive grammar checking
Integrated LanguageTool as an on-demand grammar checker, replacing the previously disabled proselint checker. Changes: - Created scripts/languagetool-flycheck wrapper for flycheck integration - Converts LanguageTool JSON output to flycheck format - Includes suggestions in error messages - 30-second timeout for large files - Updated modules/flycheck-config.el: - Defined languagetool checker for text/markdown/org/gfm modes - Updated cj/flycheck-prose-on-demand to use LanguageTool - Added installation instructions (sudo pacman -S languagetool) - Improved documentation clarity - Usage: Press C-; ? in org/text/markdown files - Enables flycheck with LanguageTool - Shows errors in *Flycheck errors* buffer - On-demand only (no performance impact) - Updated docs/NOTES.org: - Added best practice: Test Emacs launch after non-trivial changes - Example: emacs --eval "(kill-emacs)" - Catches startup errors before committing - Disabled weather debug mode (wttrin-debug nil) - Marked todo.org grammar checker task as DONE LanguageTool catches real grammar issues (subject-verb agreement, tense, punctuation, common mistakes) that proselint missed. Installation: LanguageTool 6.6 (222MB) from Arch repos Dependencies: Python 3 (for wrapper script)
Diffstat (limited to 'modules/weather-config.el')
-rw-r--r--modules/weather-config.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/weather-config.el b/modules/weather-config.el
index 55eddf16..3a30aa17 100644
--- a/modules/weather-config.el
+++ b/modules/weather-config.el
@@ -14,7 +14,7 @@
(add-to-list 'load-path "/home/cjennings/code/wttrin")
;; Set debug flag BEFORE loading wttrin (checked at load time)
-(setq wttrin-debug t)
+(setq wttrin-debug nil)
(use-package wttrin
;; Uncomment the next line to use vc-install instead of local directory: