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

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

[nongnu] elpa/yaml-mode 67348f3 014/124: dash (-) is a word character, s


From: ELPA Syncer
Subject: [nongnu] elpa/yaml-mode 67348f3 014/124: dash (-) is a word character, see YAML spec 1.2 section 5.6
Date: Sun, 29 Aug 2021 11:36:04 -0400 (EDT)

branch: elpa/yaml-mode
commit 67348f380679963c8afb67e2163dc85eb2d64ceb
Author: Remco van 't Veer <rwvtveer@xs4all.nl>
Commit: Remco van 't Veer <rwvtveer@xs4all.nl>

    dash (-) is a word character, see YAML spec 1.2 section 5.6
---
 yaml-mode.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/yaml-mode.el b/yaml-mode.el
index a8534d8..df82bf7 100644
--- a/yaml-mode.el
+++ b/yaml-mode.el
@@ -205,7 +205,7 @@ that key is pressed to begin a block literal."
   (modify-syntax-entry ?# "<" yaml-mode-syntax-table)
   (modify-syntax-entry ?\n ">" yaml-mode-syntax-table)
   (modify-syntax-entry ?\\ "\\" yaml-mode-syntax-table)
-  (modify-syntax-entry ?- "." yaml-mode-syntax-table)
+  (modify-syntax-entry ?- "w" yaml-mode-syntax-table)
   (modify-syntax-entry ?_ "_" yaml-mode-syntax-table)
   (modify-syntax-entry ?\( "." yaml-mode-syntax-table)
   (modify-syntax-entry ?\) "." yaml-mode-syntax-table)



reply via email to

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