Using words as autopairs
asyncial opened this issue · comments
asyncial commented
Hey,
is it possible to use full strings as autopairs? For example if
and fi
in shellscripts.
Thanks for providing this useful plug in!
Taupiqueur commented
Not at the moment, but patches are welcome.
I have to check the code, but if my memory is good, it could be done by iterating the pairs, testing count
H, where count
represents the length of the opening pair being iterated, for each selection matching, insert the corresponding closing pair.
asyncial commented
Alright, thanks, I will look into it.
Daniel Mulford commented
That would be a great feature. :)