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

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

[nongnu] elpa/yaml-mode e859daf525 1/6: fix: #96 highlight error with in


From: ELPA Syncer
Subject: [nongnu] elpa/yaml-mode e859daf525 1/6: fix: #96 highlight error with inline comments
Date: Sat, 22 Oct 2022 06:59:26 -0400 (EDT)

branch: elpa/yaml-mode
commit e859daf52534a4977a40ea422ee42128ed2f3651
Author: liuyinz <liuyinz95@gmail.com>
Commit: Shohei YOSHIDA <syohex@gmail.com>

    fix: #96 highlight error with inline comments
---
 yaml-mode.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/yaml-mode.el b/yaml-mode.el
index 07ac2247bc..39b41b0efd 100644
--- a/yaml-mode.el
+++ b/yaml-mode.el
@@ -178,7 +178,7 @@ that key is pressed to begin a block literal."
              "y" "Y" "yes" "Yes" "YES" "n" "N" "no" "No" "NO"
              "true" "True" "TRUE" "false" "False" "FALSE"
              "on" "On" "ON" "off" "Off" "OFF") t)
-          " *$")
+          "\\(?:$\\| +\\)")
   "Regexp matching certain scalar constants in scalar context.")
 
 



reply via email to

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