summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorAlan Pearce2017-05-23 15:47:28 +0200
committerAlan Pearce2017-05-23 15:47:28 +0200
commit7414f92ac921f40e4a5d785f31f79a436b62d3e6 (patch)
treefab139c6fd5e4c9032f11b4dc0e01ed618c39b34
parent0b7675b33faefe7463ca61048e7e4ebd35e54157 (diff)
downloadnixfiles-7414f92ac921f40e4a5d785f31f79a436b62d3e6.tar.lz
nixfiles-7414f92ac921f40e4a5d785f31f79a436b62d3e6.tar.zst
nixfiles-7414f92ac921f40e4a5d785f31f79a436b62d3e6.zip
Emacs: Install flycheck-vale, to check my English
-rw-r--r--emacs/.emacs.d/init.org11
1 files changed, 11 insertions, 0 deletions
diff --git a/emacs/.emacs.d/init.org b/emacs/.emacs.d/init.org
index a8f9dc05..3ed0e72b 100644
--- a/emacs/.emacs.d/init.org
+++ b/emacs/.emacs.d/init.org
@@ -2314,6 +2314,17 @@ Sometimes I might want to show off my emacs usage.
             (add-hook 'prog-mode-hook #'flyspell-prog-mode)))
 #+END_SRC
 
+** Style checking
+
+[[https://github.com/ValeLint/vale][Vale]] is a linter, but for prose.  Neat idea!  Salesman is a bad term.
+
+#+BEGIN_SRC emacs-lisp
+(use-package flycheck-vale
+  :config (progn
+            (add-to-list 'flycheck-vale-modes 'org-mode)
+            (flycheck-vale-setup)))
+#+END_SRC
+
 * Scripting
 
 Make a shell-script buffer executable after saving it, if it has a shebang.