helix-mods/runtime
Michael Davis aacd0c8aa5
Update TSQ queries (#2960)
A few changes to make TSQ highlights better:

* A parsing error has been fixed in the grammar itself
    * Previously tree-sitter-tsq did not parse the variables
      in predicates like `(#set! injection.language "javascript")`
* Theme nodes as `tag`
    * The newly added node to the parser (from the above fix) is
      `variable` which takes over the `variable` capture from nodes
* Highlight known predicates as `function` and unsupported
  predicates as `error`
    * This may help when translating queries from nvim-treesitter.
      For example `#any-of?` is a common one used in nvim-treesitter
      queries but not implemented in Helix or tree-sitter-cli.
* Inject tree-sitter-regex into `#match?` predicates
2022-07-05 20:01:05 +09:00
..
grammars Dynamically load grammar libraries at runtime 2021-07-14 10:00:05 +09:00
queries Update TSQ queries (#2960) 2022-07-05 20:01:05 +09:00
themes Add Autumn night theme 2022-07-05 12:33:37 +02:00
tutor.txt Restore section spacing in tutor. (#2791) 2022-06-16 17:28:55 -05:00