branch: elpa/yaml-mode commit 28c34033194130d452d5c958b5241c88d42ca02b Merge: 64b2891 756e64b Author: Vasilij Schneidermann <m...@vasilij.de> Commit: GitHub <nore...@github.com>
Merge pull request #54 from jfrederickson/whitespace-document-separator Don't consider a line a document delimiter if it has leading whitespace --- yaml-mode.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/yaml-mode.el b/yaml-mode.el index 90e2109..e257379 100644 --- a/yaml-mode.el +++ b/yaml-mode.el @@ -125,7 +125,7 @@ that key is pressed to begin a block literal." (defconst yaml-directive-re "^\\(?:--- \\)? *%\\(\\w+\\)" "Regexp matching a line contatining a YAML directive.") -(defconst yaml-document-delimiter-re "^ *\\(?:---\\|[.][.][.]\\)" +(defconst yaml-document-delimiter-re "^\\(?:---\\|[.][.][.]\\)" "Rexexp matching a YAML document delimiter line.") (defconst yaml-node-anchor-alias-re "[&*][a-zA-Z0-9_-]+"