vim-autoclose icon indicating copy to clipboard operation
vim-autoclose copied to clipboard

Fix issues of autoclosing single and double quotes when using certain color schemes

Open ivang opened this issue 9 years ago • 5 comments

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?)

ivang avatar Sep 07 '15 09:09 ivang

Thanks, this bug had eluded me for some time.

timss avatar Nov 20 '15 22:11 timss

Many thanks for this, it was driving me nuts.

I've merged this PR on my fork. https://github.com/somini/vim-autoclose

somini avatar Mar 13 '16 18:03 somini

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?

timss avatar Mar 13 '16 18:03 timss

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.

somini avatar Mar 13 '16 19:03 somini

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.

timss avatar Mar 13 '16 19:03 timss