summaryrefslogtreecommitdiffstats
path: root/emacs/.emacs.d/init.org
diff options
context:
space:
mode:
authorGravatar Tom Willemse2014-12-10 17:12:10 +0100
committerGravatar Tom Willemse2014-12-10 17:12:10 +0100
commit4edb26c381e11163665f6aa16ee68dd430b632fe (patch)
tree8b5843afdcdfa29442c26fe1c17b7126bc04239e /emacs/.emacs.d/init.org
parentf5fbe7ed7e17455d0db5c0384e97b5a0fe307677 (diff)
downloaddotfiles-4edb26c381e11163665f6aa16ee68dd430b632fe.tar.gz
dotfiles-4edb26c381e11163665f6aa16ee68dd430b632fe.zip
Update haml-mode functions
Diffstat (limited to 'emacs/.emacs.d/init.org')
-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.