You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There are some mistakes in #201, e.g. @markup.emphasis and @markup.strike do not exist upstream, they are called @markup.italic and @markup.strikethrough instead (this causes treesitter-based markdown highlighting to not work correctly currently, i.e. italics and strikethrough are not applied).
There are some mistakes in #201, e.g.
@markup.emphasis
and@markup.strike
do not exist upstream, they are called@markup.italic
and@markup.strikethrough
instead (this causes treesitter-based markdown highlighting to not work correctly currently, i.e. italics and strikethrough are not applied).The new, standardized treesitter highlight captures seem to be stable now: nvim-treesitter/nvim-treesitter#6513
But there are quite some differences between the onedark highlight groups and the nvim-treesitter captures listed here: https://github.com/nvim-treesitter/nvim-treesitter/blob/master/CONTRIBUTING.md#highlights
Maybe it would be worth to cleanly align with upstream?
Diff between onedark and nvim-treesitter captures
Onedark captures from https://github.com/navarasu/onedark.nvim/blob/master/lua/onedark/highlights.lua (only
[email protected]
section, withoutOld configuration
section)Nvim-treesitter captures from https://github.com/nvim-treesitter/nvim-treesitter/blob/8f5513a1f2ec6ee5b378c2e32e53fc3c2a8f1e13/CONTRIBUTING.md#highlights
nvim-treesitter-captures.txt
onedark-captures.txt
The text was updated successfully, but these errors were encountered: