add whitespace mode to yaml mode hook;
This commit is contained in:
parent
e202c1ec62
commit
8e9b6968c2
|
@ -258,6 +258,7 @@
|
|||
(ability yaml ()
|
||||
"YAML editor."
|
||||
(require 'yaml-mode)
|
||||
(add-hook 'yaml-mode-hook (lambda () (interactive) (whitespace-mode 1)))
|
||||
(add-to-list 'auto-mode-alist '("\\.yml\\'" . yaml-mode))
|
||||
(add-to-list 'auto-mode-alist '("\\.sls\\'" . yaml-mode)))
|
||||
|
||||
|
|
Loading…
Reference in New Issue