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
tree-sitter returns lots of overlapping highlights, which need to be filtered by priority to get the 'correct' highlights for a string. The old single-highlighter system just used the last value found for a range, meaning an overlap of 0..<3=.comment, 0..<3=.spell would just highlight as .spell.
To Reproduce
N/A
Expected Behavior
The new highlighting system uses the first found value, the tree-sitter implementation should be updated to not rely on the semantics of the highlighter system and instead return non-overlapping highlights.
Activity
Fix Ambiguous Highlights (#275)