alerque / vim-commonmark

CommonMark syntax for Neovim using pulldown-cmark
MIT License
9 stars 2 forks source link

Setup sane color scheme #4

Open alerque opened 4 years ago

alerque commented 4 years ago

The initial highlight colors were designed to show every bit of text we matched. These need to be re-thought to be sane colors as applied by various colorschemes!

alerque commented 4 years ago

Hey @fmoralesc do you know of any chart or tool showing a number of common colorschemes and what they do with various default groups? I can do something sensible for my favorite scheme (molokai) but the things it groups together by color may or may not be the best defaults to ship with and I don't know how to pick.

fmoralesc commented 4 years ago

Not at all. Why not derive the groups from vim-pandoc-syntax?

I am currently using this for testing:

hi def link cmarkHeading Directory
hi def link cmarkHeading1 cmarkHeading
hi def link cmarkHeading2 cmarkHeading
hi def link cmarkHeading3 cmarkHeading
hi def link cmarkHeading4 cmarkHeading
hi def link cmarkHeading5 cmarkHeading
hi def link cmarkHeading6 cmarkHeading
hi def link cmarkCodeBlock Special
hi def link cmarkFootnoteDefinition Comment
hi def cmarkEmphasis gui=Italic cterm=Italic
hi def cmarkStrong gui=Bold cterm=Bold
hi def link cmarkCode String
hi def link cmarkHtml Special
hi def link cmarkFootnoteReference Comment
hi def link cmarkRule Delimiter

With def it should be easier for people to modify things to taste.

alerque commented 4 years ago

This is partially addressed. I used your suggestions for most of these.