pinto
pinto copied to clipboard
How do I get highlight groups for vimwiki .md please?
Hello Again,
So I've got a colorscheme for markdown that's working well - and shell , vim, html and yaml filetypes.
But when I load the vimwiki/vimwiki
plugin all that syntax formatting disappears.
My gut feeling is that I need a "vimwiki" option in the "Pinto > settings > choose which keywords you want to use" setting. It feels like there's a whole long list of highlight groups that I should specify for something like vimwikimarkdownH1 etc.
Can you tell me how I should do this please? kr
That part of pinto is a bit buggy, but it's possible to add your own highlight groups. I don't use vimwiki, but it seems they have their own syntax file (https://github.com/vimwiki/vimwiki/blob/master/syntax/vimwiki.vim#L377).
So for instance, to add keyword VimwikiCode
, you would have to create a new Keyword Group (click the + mark after the Keyword Groups header) and name it VimWiki, then add a new entry:
VimwikiCode
-> PreProc
.
You would have to do it for all the keywords you want to style. However, my suggestion would be to just style the major/minor groups, since VimWiki defaults to them (you won't get the granularity though but there are a lot of keywords to add...).