Townk / vim-autoclose

This plugin for Vim enable an auto-close chars feature for you. For instance if you type an '(', ``autoclose`` will automatically insert a ')' and put the cursor between than.
http://townk.github.com/vim-autoclose/
503 stars 66 forks source link

Add option to remove before-close characters #59

Open artnez opened 10 years ago

artnez commented 10 years ago

4c4902f7196ee3ef0049a705fe93cc91cc0d4d6a improved the on deciding when to close a pair. The choice that closing pairs is OK before any b:AutoClosePairs value means that pairs will close ahead of strings. For example, putting ( in front of " gets you ()" instead of (".

AutoCloseDoNotCloseBefore allows setting an explicit set of characters to never close in front of.