Hello,
I have started using this plugin for markdown with nvim-treesitter and noticed that strikethrough ~~STRIKETHROUGH~~ , italic *ITALIC* and bold **BOLD** seem to work badly.
solarized-normal
STRIKETHROUGH
This one seems to be a bug, the line defining the strikethrough highlight is:
syntax['Strikethrough'] = {fg=colors.base01,strikethrough=true}
instead of
syntax['Strikethrough'] = {fg=colors.base01,style='strikethrough'}
It is later used in syntax['@text.strike'] = syntax['Strikethrough'].
ITALICS
This one might be a bug but I'm not sure, the line defining the italic highlight is:
syntax['@text.emphasis'] = {fg=colors.base1,bg=colors.base03,style='bold'}
instead of
syntax['@text.emphasis'] = {fg=colors.base1,bg=colors.base03,style=utils.italics()}
ITALICS AND BOLD
Both italics and bold set bg=colors.base03, this doesn't seem like a bug but it is a little ugly, maybe this should be removed?
Other solarized variants
The other solarized variants do not contain the -- Text {{{ section with the syntax['@text... highlight definitions, I'm not sure if this is intentional or not.
Hello,
I have started using this plugin for markdown with nvim-treesitter and noticed that
strikethrough~~STRIKETHROUGH~~, italic*ITALIC*and bold**BOLD**seem to work badly.solarized-normal
STRIKETHROUGH
This one seems to be a bug, the line defining the strikethrough highlight is:
instead of
It is later used in
syntax['@text.strike'] = syntax['Strikethrough'].ITALICS
This one might be a bug but I'm not sure, the line defining the italic highlight is:
instead of
ITALICS AND BOLD
Both italics and bold set
bg=colors.base03, this doesn't seem like a bug but it is a little ugly, maybe this should be removed?Other solarized variants
The other solarized variants do not contain the
-- Text {{{section with thesyntax['@text...highlight definitions, I'm not sure if this is intentional or not.