Open leesoh opened 1 year ago
If you want markdownH*
highlights to be effective you should disable treesitter highlighting for markdown.
Otherwise use https://github.com/lukas-reineke/headlines.nvim
The correct highlight group if using treesitter would be @text.title.1.markdown
, so your custom config would be:
require('onedark').setup {
highlights = {
["@text.title.1.markdown"] = { fg = '#ffffff'}
}
}
Hello and happy new year! I love that there's a lua-based version of markdown. Thank you so much for your work on this.
I'm trying to figure out why my markdown headings are showing up as green, not the colours defined here.
I thought it might be an issue with the colour definition itself, but red shows up for bulleted lists just fine. Here's a screenshot:
I've also tried defining a custom configuration:
But this didn't work either. Finally, I thought it might be something to do with my terminal, but I'm seeing the same thing with both
gnome-terminal
andkitty
.I'm using Neovim v0.7.2.
Any help would be appreciated!