summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCraig Jennings <c@cjennings.net>2026-02-02 12:28:52 -0600
committerCraig Jennings <c@cjennings.net>2026-02-02 12:28:52 -0600
commit819180b90fae4ff99d5aacaa90acc4057a78d998 (patch)
treeee038ac37b00ee1ad04aa4272f29b6620c8df6f8
parent0dc9acbb71534a9490601112a0c056c60293599a (diff)
feat(archsetup): add languagetool for Emacs grammar checking
Integrates with Flycheck for real-time grammar/style checking
-rwxr-xr-xarchsetup1
-rw-r--r--assets/2026-02-02-languagetool-install.txt33
2 files changed, 34 insertions, 0 deletions
diff --git a/archsetup b/archsetup
index c7903d8..2cbfaae 100755
--- a/archsetup
+++ b/archsetup
@@ -1777,6 +1777,7 @@ developer_workstation() {
pacman_install python-lsp-server # python language support
pacman_install rlwrap # adds readline support to programs (SBCL-related)
pacman_install sdcv # stardict dictionary system
+ pacman_install languagetool # grammar/style checker for flycheck
pacman_install deno # JS runtime for yt-dlp YouTube extraction
pipx_install yt-dlp # video download (pipx keeps it current)
diff --git a/assets/2026-02-02-languagetool-install.txt b/assets/2026-02-02-languagetool-install.txt
new file mode 100644
index 0000000..2af4b70
--- /dev/null
+++ b/assets/2026-02-02-languagetool-install.txt
@@ -0,0 +1,33 @@
+Install LanguageTool for Emacs
+==============================
+
+Date: 2026-02-02
+
+WHAT
+----
+LanguageTool is an open-source grammar and style checker. It supports
+English, German, French, Spanish, and 20+ other languages.
+
+In Emacs, it integrates with Flycheck to provide real-time grammar
+checking in text buffers (org-mode, markdown, emails, etc.).
+
+WHY
+---
+The Emacs config has a LanguageTool integration via:
+- ~/.emacs.d/scripts/languagetool-flycheck (wrapper script)
+- Flycheck checker definition
+
+Without languagetool installed, this integration is non-functional
+and tests will skip.
+
+INSTALL
+-------
+LanguageTool is in the official Arch repos:
+
+ sudo pacman -S languagetool
+
+This installs the command-line tool that the Emacs wrapper calls.
+
+LOCATION
+--------
+Add to the Emacs dependencies section of the archsetup package list.