BUG when autuOutdent in lua mode
BUG when autuOutdent in lua mode

In example lua code,

    function guessnumber(a)
    if a>1 then
        print 'hello'
        if a>2 then
            print(234)
        else
            print(123)
        end
    else

when move cursor to the last `else` end press `enter` keyboard, the last `else` keyword will auto outdent to the line begin(without any ident spaces).
ektx/ace,paladox/ace,paladox/ace,paladox/ace,paladox/ace,paladox/ace,paladox/ace,paladox/ace,paladox/ace,robottomw/ace,acanakoglu/ace,ektx/ace,paladox/ace,paladox/ace,robottomw/ace,paladox/ace,robottomw/ace,paladox/ace,acanakoglu/ace,paladox/ace,acanakoglu/ace,paladox/ace,paladox/ace,paladox/ace,paladox/ace,paladox/ace,ektx/ace