Permalink
Browse files

dash (-) is a word character, see YAML spec 1.2 section 5.6

  • Loading branch information...
1 parent 4ce371e commit 67348f380679963c8afb67e2163dc85eb2d64ceb @remvee remvee committed Feb 26, 2010
Showing with 1 addition and 1 deletion.
  1. +1 −1 yaml-mode.el
View
@@ -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)

0 comments on commit 67348f3

Please sign in to comment.