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

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

[nongnu] elpa/yaml-mode 1a779ba 029/124: Merge pull request #8 from holy


From: ELPA Syncer
Subject: [nongnu] elpa/yaml-mode 1a779ba 029/124: Merge pull request #8 from holymonson/master
Date: Sun, 29 Aug 2021 11:36:07 -0400 (EDT)

branch: elpa/yaml-mode
commit 1a779ba83d8776291544ddecfbfbdb1c388c94ac
Merge: e2befd8 b15a8ff
Author: Yoshiki Kurihara <clouder@gmail.com>
Commit: Yoshiki Kurihara <clouder@gmail.com>

    Merge pull request #8 from holymonson/master
    
    fix anchor name can contain '_'
---
 yaml-mode.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/yaml-mode.el b/yaml-mode.el
index 049dbc2..9976c64 100644
--- a/yaml-mode.el
+++ b/yaml-mode.el
@@ -129,7 +129,7 @@ that key is pressed to begin a block literal."
 (defconst yaml-document-delimiter-re "^ *\\(?:---\\|[.][.][.]\\)"
   "Rexexp matching a YAML document delimiter line.")
 
-(defconst yaml-node-anchor-alias-re "[&*]\\w+"
+(defconst yaml-node-anchor-alias-re "[&*][a-zA-Z0-9_-]+"
   "Regexp matching a YAML node anchor or alias.")
 
 (defconst yaml-tag-re "!!?[^ \n]+"



reply via email to

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