diff options
Diffstat (limited to '.emacs.d/lisp/yaml-mode.el')
| -rw-r--r-- | .emacs.d/lisp/yaml-mode.el | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/.emacs.d/lisp/yaml-mode.el b/.emacs.d/lisp/yaml-mode.el index 91db316..9d619d5 100644 --- a/.emacs.d/lisp/yaml-mode.el +++ b/.emacs.d/lisp/yaml-mode.el | |||
| @@ -484,6 +484,10 @@ this will do usual adaptive fill behaviors." | |||
| 484 | ;;;###autoload | 484 | ;;;###autoload |
| 485 | (add-to-list 'auto-mode-alist '("\\.\\(e?ya?\\|ra\\)ml\\'" . yaml-mode)) | 485 | (add-to-list 'auto-mode-alist '("\\.\\(e?ya?\\|ra\\)ml\\'" . yaml-mode)) |
| 486 | 486 | ||
| 487 | ;;;###autoload | ||
| 488 | (add-to-list 'magic-mode-alist | ||
| 489 | '("^%YAML\\s-+[0-9]+\\.[0-9]+\\(\\s-+#\\|\\s-*$\\)" . yaml-mode)) | ||
| 490 | |||
| 487 | (provide 'yaml-mode) | 491 | (provide 'yaml-mode) |
| 488 | 492 | ||
| 489 | ;;; yaml-mode.el ends here | 493 | ;;; yaml-mode.el ends here |
