Replace tree-sitter-highlight with Helix's tree-house crate for advanced syntax highlighting: - Add tree-house and tree-house-bindings dependencies - Implement SukrLoader with LanguageLoader trait - Add hierarchical scope resolution with fallback (e.g., keyword.control.conditional → keyword.control → keyword) - Create custom HTML renderer processing HighlightEvents - Support all 14 languages with Helix queries - Handle JS/TS inheritance chain (ecma → _javascript/_typescript) Benefits: - Richer semantic highlighting with ~75 scope classes - Proper language injection support - Hierarchical theme scopes matching Helix themes - Foundation for converting Helix TOML themes to CSS
1.4 KiB
1.4 KiB