Description
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.
Version Information
CodeEditSourceEditor: 0.8.1
Additional Context
Screenshots
No response