region is wrong:
//! region something
The rest is ok, actual Jass code folding in Linux is good news, and region is not that important, I am approving this. But please, fix region.
Edit: Wow Kate can even split the window, dishing gVim already...