aboutsummaryrefslogtreecommitdiff
path: root/.emacs.local.d/modes
diff options
context:
space:
mode:
authorRaul Benencia <id@rbenencia.name>2022-07-29 07:54:42 -0700
committerRaul Benencia <id@rbenencia.name>2022-07-29 07:54:42 -0700
commit2637baf09fce7c598496528da24f6c1b724efa97 (patch)
tree5a57f99a7185d082eddcca8f11de0c490edaef84 /.emacs.local.d/modes
parent2914f09e3c661ecbef3a1514de9062dc1a3245b2 (diff)
emacs: enable flycheck and languagetool
Diffstat (limited to '.emacs.local.d/modes')
-rw-r--r--.emacs.local.d/modes/flycheck.el8
1 files changed, 8 insertions, 0 deletions
diff --git a/.emacs.local.d/modes/flycheck.el b/.emacs.local.d/modes/flycheck.el
index 45571e2..6662c06 100644
--- a/.emacs.local.d/modes/flycheck.el
+++ b/.emacs.local.d/modes/flycheck.el
@@ -10,3 +10,11 @@
:modes (text-mode markdown-mode gfm-mode org-mode))
(add-to-list 'flycheck-checkers 'proselint)
+
+;; TODO: docker run --rm -p 8010:8010 erikvl87/languagetool
+(use-package flycheck-languagetool
+ :ensure t
+ :hook (message-mode . flycheck-languagetool-setup)
+ :init
+ (setq flycheck-languagetool-url "http://localhost:8010")
+)
nihil fit ex nihilo