Enable subword-mode for yaml-mode
This commit is contained in:
parent
ce006a3beb
commit
fca390003c
1 changed files with 1 additions and 0 deletions
|
@ -36,6 +36,7 @@
|
|||
;; yaml-mode doesn't derive from prog-mode, but we can at least enable
|
||||
;; whitespace-mode and apply cleanup.
|
||||
(add-hook 'yaml-mode-hook 'whitespace-mode)
|
||||
(add-hook 'yaml-mode-hook 'subword-mode)
|
||||
(add-hook 'yaml-mode-hook
|
||||
(lambda () (add-hook 'before-save-hook 'prelude-cleanup-maybe nil t)))
|
||||
|
||||
|
|
Loading…
Reference in a new issue