mirror of
https://github.com/haml/haml.git
synced 2022-11-09 12:33:31 -05:00
[Emacs] Allow indentation beneath for loops.
Closes gh-263
This commit is contained in:
parent
e80e812fc8
commit
fec309b1c2
1 changed files with 1 additions and 1 deletions
|
@ -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]*$"
|
||||
|
|
Loading…
Reference in a new issue