AlecGhost / tree-sitter-vscode

Bring the power of Tree-sitter to VSCode
Apache License 2.0
12 stars 2 forks source link

Implement language injection spec #2

Open AlecGhost opened 3 months ago

AlecGhost commented 3 months ago

Current behavior

Languages can be injected by providing a query in the configured query file with the language's name as a capture (e.g. @python, @java.)

Expected behavior

Additionally, language injection should be possible in the way described in the Tree-sitter docs. However, I couldn't find a real spec on how these injections should behave.