aboutsummaryrefslogtreecommitdiff
path: root/.emacs.local.d
diff options
context:
space:
mode:
Diffstat (limited to '.emacs.local.d')
-rw-r--r--.emacs.local.d/general.el4
-rw-r--r--.emacs.local.d/modes/flycheck.el8
2 files changed, 10 insertions, 2 deletions
diff --git a/.emacs.local.d/general.el b/.emacs.local.d/general.el
index dc4ca17..76efd12 100644
--- a/.emacs.local.d/general.el
+++ b/.emacs.local.d/general.el
@@ -164,8 +164,8 @@
;;(setq browse-url-browser-function 'browse-url-generic browse-url-generic-program "chromium")
;; Mutt support.
-(setq auto-mode-alist (append '((".*tmp/mutt.*" . mail-mode)) auto-mode-alist))
-(setq auto-mode-alist (append '((".*tmp/neomutt.*" . mail-mode)) auto-mode-alist))
+(setq auto-mode-alist (append '((".*tmp/mutt.*" . message-mode)) auto-mode-alist))
+(setq auto-mode-alist (append '((".*tmp/neomutt.*" . message-mode)) auto-mode-alist))
;; Save what you enter into minibuffer prompts
(setq history-length 25)
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