summaryrefslogtreecommitdiff
path: root/.emacs.d/lisp/yaml-mode.el
diff options
context:
space:
mode:
Diffstat (limited to '.emacs.d/lisp/yaml-mode.el')
-rw-r--r--.emacs.d/lisp/yaml-mode.el4
1 files changed, 2 insertions, 2 deletions
diff --git a/.emacs.d/lisp/yaml-mode.el b/.emacs.d/lisp/yaml-mode.el
index 9274a5b..2cc7392 100644
--- a/.emacs.d/lisp/yaml-mode.el
+++ b/.emacs.d/lisp/yaml-mode.el
@@ -148,7 +148,7 @@ that key is pressed to begin a block literal."
148(defconst yaml-scalar-context-re 148(defconst yaml-scalar-context-re
149 (concat "\\(?:^\\(?:--- \\)?\\|{\\|\\(?: *[-,] +\\)+\\) *" 149 (concat "\\(?:^\\(?:--- \\)?\\|{\\|\\(?: *[-,] +\\)+\\) *"
150 "\\(?:" yaml-bare-scalar-re " *: \\)?") 150 "\\(?:" yaml-bare-scalar-re " *: \\)?")
151 "Regexp indicating the begininng of a scalar context.") 151 "Regexp indicating the beginning of a scalar context.")
152 152
153(defconst yaml-nested-map-re 153(defconst yaml-nested-map-re
154 (concat ".*: *\\(?:&.*\\|{ *\\|" yaml-tag-re " *\\)?$") 154 (concat ".*: *\\(?:&.*\\|{ *\\|" yaml-tag-re " *\\)?$")
@@ -432,7 +432,7 @@ cross boundaries of block literals."
432 yaml-mode-version) 432 yaml-mode-version)
433 433
434;;;###autoload 434;;;###autoload
435(add-to-list 'auto-mode-alist '("\\.e?ya?ml\\'" . yaml-mode)) 435(add-to-list 'auto-mode-alist '("\\.\\(e?ya?\\|ra\\)ml\\'" . yaml-mode))
436 436
437(provide 'yaml-mode) 437(provide 'yaml-mode)
438 438