sheerun / vim-polyglot

A solid language pack for Vim.
5.59k stars 295 forks source link

How do I alter the colours afterwards? (markdown blockquotes unreadable) #832

Closed ckp95 closed 1 year ago

ckp95 commented 1 year ago

First, I'm not sure if this is a problem with vim-polyglot or the colourscheme I'm using which is vim-monokai-pro. But when I edit a markdown file, text within a block quote is pretty low contrast: image

Everything else other than blockquotes is readable.

It seems to be the same colour as what gets used for code comments:

image

I don't mind code comments looking like this since they're meant to fade into the background a little. But I don't want markdown blockqoutes to be like that.

Is there a way to make the markdown block quotes use a different colour? Or is this a problem with my colourscheme or some other aspect of my config?

EDIT: fixed it. In vim-polyglot/syntax/markdown.vim I changed these lines:

HtmlHiLink mkdFootnote      Comment
HtmlHiLink mkdBlockquote    Comment

to this

HtmlHiLink mkdFootnote      Special
HtmlHiLink mkdBlockquote    Special

I chose Special by looking at the hex colors in the vim-monokai-pro/colors/monokai_pro.vim:

image

The plugin I'm using to display the hex colours is vim-hexokinase.

Result:

image