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
nvim-treesitter uses #set! priority to rank overlapping patterns regardless of their order. The highlighter ignores the directive: patterns apply in order and the later one wins. Seven patterns carry it (three in markdown, one each in html, python, yaml and c), so those constructs can color differently from nvim.
The fix is to honor the directive when merging spans, sorting by priority and then by pattern order.
Activity