Skip to content
Discussion options

You must be logged in to vote

#12972 will change the way we write locals.scm queries but otherwise it won't change highlighting queries. You'll need to add that section to languages.toml and add highlights in runtime/queries/lilypond/highlights.scm. You can use the highlights.scm in the tree-sitter-lilypond repo as a guide and adapt the captures to follow the ones we use: https://docs.helix-editor.com/master/themes.html#syntax-highlighting. Also see https://docs.helix-editor.com/master/guides/adding_languages.html and the other guides on the docs website

Replies: 1 comment

Comment options

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