Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

[Emacs] Allow indentation beneath for loops.

Closes gh-263
  • Loading branch information...
commit fec309b1c22c07db7339dcc5cecbb011cbc11e5e 1 parent e80e812
@nex3 nex3 authored
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]*$"
Please sign in to comment.
Something went wrong with that request. Please try again.