summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2020-09-08 11:55:06 +0300
committerLars Wirzenius <liw@liw.fi>2020-09-08 11:55:06 +0300
commit47ec2c2a417027710a4dceb09a87da60f4f24158 (patch)
treedf4531cf4ec41ee9d93a0969e1a711e6bf0270fd
parentd252825cf7681880edd69b21a9f9a2b80895b07f (diff)
downloadliw-dot-files-47ec2c2a417027710a4dceb09a87da60f4f24158.tar.gz
emacs: turn on flycheck for yaml, markdown
-rw-r--r--emacs.d/init.el2
1 files changed, 2 insertions, 0 deletions
diff --git a/emacs.d/init.el b/emacs.d/init.el
index 475b4e7..7e54c8f 100644
--- a/emacs.d/init.el
+++ b/emacs.d/init.el
@@ -167,6 +167,8 @@
;; Turn on flycheck mode for program code.
(add-hook 'prog-mode-hook 'flycheck-mode)
+(add-hook 'yaml-mode-hook 'flycheck-mode)
+(add-hook 'markdown-mode-hook 'flycheck-mode)
(set-face-attribute 'flycheck-error nil
:weight 'bold
:underline "#ff0000"