mirror of
https://github.com/jimeh/.emacs.d.git
synced 2026-02-19 13:46:41 +00:00
13 lines
481 B
EmacsLisp
13 lines
481 B
EmacsLisp
(add-to-list 'auto-mode-alist '("\\.yml$" . yaml-mode))
|
|
(add-to-list 'auto-mode-alist '("\\.yaml$" . yaml-mode))
|
|
(add-to-list 'auto-mode-alist '("\\.yml\\.example$" . yaml-mode))
|
|
|
|
(add-hook 'yaml-mode-hook
|
|
'(lambda ()
|
|
(flyspell-prog-mode)
|
|
(linum-mode t)
|
|
(fci-mode)
|
|
(setq highlight-indentation-offset 2)
|
|
(highlight-indentation-mode)
|
|
(define-key yaml-mode-map (kbd "RET") 'newline-and-indent)))
|