Update haml-mode functions
This commit is contained in:
parent
f5fbe7ed7e
commit
4edb26c381
1 changed files with 8 additions and 3 deletions
|
@ -1122,6 +1122,14 @@
|
||||||
(add-hook 'haml-mode-hook #'oni:electric-pair-local-mode)
|
(add-hook 'haml-mode-hook #'oni:electric-pair-local-mode)
|
||||||
#+END_SRC
|
#+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
|
** Ruby
|
||||||
|
|
||||||
- Automatically match parentheses and other delimiters.
|
- Automatically match parentheses and other delimiters.
|
||||||
|
@ -1133,8 +1141,6 @@
|
||||||
- Enable flycheck
|
- Enable flycheck
|
||||||
|
|
||||||
#+BEGIN_SRC emacs-lisp
|
#+BEGIN_SRC emacs-lisp
|
||||||
(declare-function flycheck-mode "flycheck")
|
|
||||||
|
|
||||||
(add-hook 'ruby-mode-hook #'flycheck-mode)
|
(add-hook 'ruby-mode-hook #'flycheck-mode)
|
||||||
#+END_SRC
|
#+END_SRC
|
||||||
|
|
||||||
|
@ -1146,7 +1152,6 @@
|
||||||
(setq ruby-align-chained-calls t)
|
(setq ruby-align-chained-calls t)
|
||||||
#+END_SRC
|
#+END_SRC
|
||||||
|
|
||||||
|
|
||||||
** Coffee
|
** Coffee
|
||||||
|
|
||||||
- Automatically match parentheses and other delimiters.
|
- Automatically match parentheses and other delimiters.
|
||||||
|
|
Loading…
Reference in a new issue