summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--emacs/.emacs.d/init.org11
1 files changed, 8 insertions, 3 deletions
diff --git a/emacs/.emacs.d/init.org b/emacs/.emacs.d/init.org
index 94031ce..40c4812 100644
--- a/emacs/.emacs.d/init.org
+++ b/emacs/.emacs.d/init.org
@@ -1122,6 +1122,14 @@
(add-hook 'haml-mode-hook #'oni:electric-pair-local-mode)
#+END_SRC
+ - Check syntax on the fly
+
+ #+BEGIN_SRC emacs-lisp
+ (declare-function flycheck-mode "flycheck")
+
+ (add-hook 'haml-mode-hook #'flycheck-mode)
+ #+END_SRC
+
** Ruby
- Automatically match parentheses and other delimiters.
@@ -1133,8 +1141,6 @@
- Enable flycheck
#+BEGIN_SRC emacs-lisp
- (declare-function flycheck-mode "flycheck")
-
(add-hook 'ruby-mode-hook #'flycheck-mode)
#+END_SRC
@@ -1146,7 +1152,6 @@
(setq ruby-align-chained-calls t)
#+END_SRC
-
** Coffee
- Automatically match parentheses and other delimiters.