Skip to content

Commit

Permalink
Wrapped lines in - or = blocks can only end with a comma
Browse files Browse the repository at this point in the history
  • Loading branch information
purcell committed Dec 21, 2012
1 parent 0d8517a commit 3a581e0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion haml-mode.el
Original file line number Diff line number Diff line change
Expand Up @@ -232,7 +232,7 @@ END.")
(goto-char (match-end 0)))))

(defconst haml-possibly-multiline-code-re
"\\(\\(?:.*?[,{(\\[][ \t]*\n\\)*.*\\)"
"\\(\\(?:.*?,[ \t]*\n\\)*.*\\)"
"Regexp to match trailing ruby code which may continue onto subsequent lines.")

(defconst haml-ruby-script-re
Expand Down

0 comments on commit 3a581e0

Please sign in to comment.