Skip to content

Use treesitter scopes in themes #11147

Closed Answered by supersurviveur
supersurviveur asked this question in Q&A
Discussion options

You must be logged in to vote

Finally it works !
Label can be set in highlights.scm files in the runtime dir (/usr/lib/helix/runtime/ on my linux). No need to rebuild, they are loaded dynamically.
Then you can use these labels in your theme.

However I don't know if more complex labels should be added to helix directly, not in custom config.

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by supersurviveur
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant