Skip to content
Discussion options

You must be logged in to vote

To re-use ruby's tree-sitter parser you should set grammar = "ruby" in the [[language]] block for vcl. You will also need to set up syntax highlighting queries in $HELIX_RUNTIME/queries/vcl/highlights.scm. If you re-use the ruby tree-sitter parser you can also re-use the syntax highlight queries by adding the comment ; inherits: ruby to that file.

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@salarkhan
Comment options

@salarkhan
Comment options

Answer selected by salarkhan
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
Converted from issue

This discussion was converted from issue #6711 on April 11, 2023 22:43.