lifepillar / vim-wwdc16-theme

Colorful dark color scheme for Vim inspired by Apple's WWDC16 page
MIT License
102 stars 14 forks source link

The paired double quote for shell script with different color #5

Closed objczl closed 3 years ago

objczl commented 4 years ago
Screen Shot 2020-08-16 at 6 49 03 PM@2x
lifepillar commented 4 years ago

That's an issue with the syntax coloring of the sh filetype, independent of the color scheme (try :colo default and the issue will still be there).

While the left double quote is assigned (correctly) syntax group shQuote, the right double quote has syntax group shSpecial. The former is highlighted as the Operator highlight group; the latter is highlighted as the Special highlight group.

So, a workaround consists in overriding the definition of one of those groups. E.g., putting this in your vimrc should fix it:

hi! link shSpecial shQuote
objczl commented 4 years ago

@lifepillar Thanks