Skip to content
Browse files

[Emacs] Allow indentation beneath for loops.

Closes gh-263
  • Loading branch information...
1 parent e80e812 commit fec309b1c22c07db7339dcc5cecbb011cbc11e5e @nex3 nex3 committed Sep 21, 2010
Showing with 1 addition and 1 deletion.
  1. +1 −1 extra/haml-mode.el
View
2 extra/haml-mode.el
@@ -73,7 +73,7 @@ a specific level to which the current line could be indented.")
`(,(concat haml-tag-beg-re "[><]*[ \t]*$")
"^[ \t]*[&!]?[-=~].*do[ \t]*\\(|.*|[ \t]*\\)?$"
,(concat "^[ \t]*[&!]?[-=~][ \t]*\\("
- (regexp-opt '("if" "unless" "while" "until" "else"
+ (regexp-opt '("if" "unless" "while" "until" "else" "for"
"begin" "elsif" "rescue" "ensure" "when"))
"\\)")
"^[ \t]*/\\(\\[.*\\]\\)?[ \t]*$"

0 comments on commit fec309b

Please sign in to comment.
Something went wrong with that request. Please try again.