sourcegraph / tree-sitter-jsonnet

tree-sitter grammar for JSONNET
MIT License
15 stars 4 forks source link

feat: Improve highlights #18

Closed Duologic closed 1 year ago

Duologic commented 1 year ago

This PR does a few things, each commit can be reviewed separately:

  1. Refactor out the (expr) in favor of more explicit names
  2. Run make generate to render the src/ files
  3. Expand highlights queries and add folds and locals queries

Please let me know what you make of it.

aryx commented 1 year ago

cc @tjdevries

aryx commented 1 year ago

lgtm

tjdevries commented 1 year ago

Thanks, looks great!