zed icon indicating copy to clipboard operation
zed copied to clipboard

Custom Treesitter language injection queries

Open rkusa opened this issue 11 months ago • 4 comments

Check for existing issues

  • [X] Completed

Describe the feature

It would be great if it would be possible to add custom Treesitter language injection queries. This is for example possible in Helix and Neovim.

Example use-case would be to highlight the content of macros, e.g. of an sql! macro in Rust / or sql literal in TypeScript as SQL (assuming SQL language support):

Screenshot 2023-07-20 at 21 28 15

If applicable, add mockups / screenshots to help present your vision of the feature

No response

rkusa avatar Jul 20 '23 19:07 rkusa