emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[nongnu] elpa/yaml-mode 28c3403 085/124: Merge pull request #54 from jfr


From: ELPA Syncer
Subject: [nongnu] elpa/yaml-mode 28c3403 085/124: Merge pull request #54 from jfrederickson/whitespace-document-separator
Date: Sun, 29 Aug 2021 11:36:18 -0400 (EDT)

branch: elpa/yaml-mode
commit 28c34033194130d452d5c958b5241c88d42ca02b
Merge: 64b2891 756e64b
Author: Vasilij Schneidermann <mail@vasilij.de>
Commit: GitHub <noreply@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_-]+"



reply via email to

[Prev in Thread] Current Thread [Next in Thread]