You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is there such a thing in lua-mode already, i couldn't find it anyway and i think it is nice if the blocks get an end inserted automatically, so if i type function or while and hit enter or space-bar the end gets inserted. I added this to my init.el file which does it for me:
If you'd like to have it implemented separately regardless, please keep the mentioned issues in mind to avoid inconveniences when editing comments or string literals (there's a lua-comment-or-string-p function to help with this).
Is there such a thing in lua-mode already, i couldn't find it anyway and i think it is nice if the blocks get an
end
inserted automatically, so if i typefunction
orwhile
and hit enter or space-bar theend
gets inserted. I added this to my init.el file which does it for me:And then:
The text was updated successfully, but these errors were encountered: