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

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

[nongnu] elpa/yaml-mode 4377ee5 009/124: Apply patch from k-nagano


From: ELPA Syncer
Subject: [nongnu] elpa/yaml-mode 4377ee5 009/124: Apply patch from k-nagano
Date: Sun, 29 Aug 2021 11:36:03 -0400 (EDT)

branch: elpa/yaml-mode
commit 4377ee536271924424578642b73dc04994290663
Author: yoshiki <yoshiki@c9fe89ab-c918-0410-b9be-faebe9bd2962>
Commit: yoshiki <yoshiki@c9fe89ab-c918-0410-b9be-faebe9bd2962>

    Apply patch from k-nagano
    
    
    git-svn-id: 
http://svn.clouder.jp/repos/public/yaml-mode/branches/TEST-KNAGANO-PATCH@78 
c9fe89ab-c918-0410-b9be-faebe9bd2962
---
 yaml-mode.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/yaml-mode.el b/yaml-mode.el
index 9232965..3b68299 100644
--- a/yaml-mode.el
+++ b/yaml-mode.el
@@ -112,7 +112,7 @@ that key is pressed to begin a block literal."
 (defconst yaml-blank-line-re "^ *$"
   "Regexp matching a line containing only (valid) whitespace.")
 
-(defconst yaml-comment-re "\\(#*.*\\)"
+(defconst yaml-comment-re "\\(?:^\\|\\s-+\\)\\(#.*\\)"
   "Regexp matching a line containing a YAML comment or delimiter.")
 
 (defconst yaml-directive-re "^\\(?:--- \\)? *%\\(\\w+\\)"



reply via email to

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