mirror of
https://github.com/neovim/neovim.git
synced 2025-09-07 03:48:18 +00:00

`resolve_lang` is applied to `@injection.language` when it's supplied as a
capture:
f5953edbac/runtime/lua/vim/treesitter/languagetree.lua (L766-L768)
If we want to support `metadata['injection.language']` (as per #22518 and
[tree-sitter upstream](https://tree-sitter.github.io/tree-sitter/syntax-highlighting#language-injection))
then the behavior should be consistent.
Fixes: nvim-treesitter/nvim-treesitter#4918