IIUC the autoclose plugin works this way already, you can just use that.
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/pull/2943#issuecomment-944037881