Fix issues of autoclosing single and double quotes when using certain color schemes#67
Fix issues of autoclosing single and double quotes when using certain color schemes#67ivang wants to merge 1 commit intoTownk:masterfrom
Conversation
* In certain syntax regions (string, character), matching autoclose pairs "" or '' doesn't work as intended. * Original maintainer has stopped accepting PRs, opt for using fork. For more information, see Townk/vim-autoclose#67
|
Thanks, this bug had eluded me for some time. |
PR Townk#67 on the upstream repo.
|
Many thanks for this, it was driving me nuts. I've merged this PR on my fork. |
|
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 |
|
Ah, sounds like you got it under control! 👍 After confirming it works with the rest of my setup/plugins I'll be sure to change to your fork in my vimconf. |
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?)