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).
Activity
immerrr commentedon Apr 2, 2018
Hi, please check https://github.com/Fuco1/smartparens and https://github.com/joaotavora/autopair, IIRC some of those provided that functionality. Up to the point when some people complained about it being too eager, eg #135 and #143.
immerrr commentedon Apr 2, 2018
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-pfunction to help with this).