Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(syntax): Fix highlight for json labels (#363)
Within the Treesitter module, the group `@label.json` was previously using `fg = spec.func` to color JSON labels as functions. However the spec `func` is nested in `spec.syntax.func` not in `spec.func`, which caused incorrect highlighting of JSON labels. By using `syn.func`, which correctly points to `spec.syntax.func`, the issue is now resolved. Co-authored-by: Desloz <deslozfr@gmail.com>
- Loading branch information