for k,v in ipairs(arg) do
stuff()
end
I noticed that 'end' is only unindented after RET is hit. As such, the situation above happens to me a lot.
This is somewhat bothersome, especially in evil-mode, where I very often will not return after finishing a block like this.