vim-autoclose
vim-autoclose copied to clipboard
Fix issues of autoclosing single and double quotes when using certain color schemes
If the used color scheme redefines the 'String' or 'Character' syntax regions, autoclosing single and double quotes stops working (see issues #43, #45, #55, and #64) . This PR fixes this problem and supposedly solve the issues mentioned.
(Anyway, why would you disable autoclosing in strings?)
Thanks, this bug had eluded me for some time.
Many thanks for this, it was driving me nuts.
I've merged this PR on my fork. https://github.com/somini/vim-autoclose
Cool, thanks for merging other PRs as well @somini
@somini There's actually a lot of other commits that haven't been added as PRs though. You can find them using the network overview:
https://github.com/Townk/vim-autoclose/network
Haven't looked through all of them, but might want to add some of them to your fork as well?
Yeah, I looked at those too, most are just overriding the default pairs setting instead of adding a line to vimrc
. :S
I haven't looked at all, and there's also many issues that need triage.
Ah, sounds like you got it under control! :+1:
After confirming it works with the rest of my setup/plugins I'll be sure to change to your fork in my vimconf.