Permalink
Browse files

Apply patch from k-nagano

  • Loading branch information...
1 parent e142e65 commit 4377ee536271924424578642b73dc04994290663 yoshiki committed Jun 22, 2007
Showing with 1 addition and 1 deletion.
  1. +1 −1 yaml-mode.el
View
@@ -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+\\)"

0 comments on commit 4377ee5

Please sign in to comment.