Improves Lua auto indent and end insertion
Improves Lua auto indent and end insertion

Current solution makes it difficult to use common Lua practices of having one-liner if statements and using anonymous functions.
New solution prevents auto-indentation and end insertion, if the previous line contains an "end" keyword.
It does not attempt to match each structure with corresponding end, since using multiple end keywords in single line is a very rare occurance in Lua.

alexherbo2/kakoune,Somasis/kakoune,casimir/kakoune,Somasis/kakoune,mawww/kakoune,danr/kakoune,jkonecny12/kakoune,mawww/kakoune,jkonecny12/kakoune,mawww/kakoune,mawww/kakoune,jkonecny12/kakoune,casimir/kakoune,lenormf/kakoune,danr/kakoune,danr/kakoune,Somasis/kakoune,jkonecny12/kakoune,alexherbo2/kakoune,lenormf/kakoune,Somasis/kakoune,casimir/kakoune,alexherbo2/kakoune,danr/kakoune,alexherbo2/kakoune,lenormf/kakoune,casimir/kakoune,lenormf/kakoune