From 4edb26c381e11163665f6aa16ee68dd430b632fe Mon Sep 17 00:00:00 2001 From: Tom Willemse Date: Wed, 10 Dec 2014 17:12:10 +0100 Subject: Update haml-mode functions --- emacs/.emacs.d/init.org | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) (limited to 'emacs/.emacs.d/init.org') 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. -- cgit v1.2.3-54-g00ecf