Close brackets everywhere


I’m using the closebrackets extension and would like my brackets to be closed everywhere, no matter what character they’re in front of. Is passing before: true or similar to the CloseBracketConfig to enable this functionality something that might be worth considering?


I expect that behavior is going to be quite annoying in practice—it’ll be a pain to add a single bracket once you have unbalanced brackets somewhere. There’s currently no support for it, but to test it you could create a string containing all ASCII characters and see how it feels.

Sorry, but can you explain how having unbalanced brackets somewhere will make adding a single bracket a pain? I don’t quite understand what kind of situation you have in mind.

I mean there are many situations where you do need to add a single opening bracket, and having to always remove the close bracket in those cases is a pain.