diff options
| author | Christian Clason <c.clason@uni-graz.at> | 2025-04-22 10:44:45 +0200 |
|---|---|---|
| committer | Christian Clason <c.clason@uni-graz.at> | 2025-05-12 18:43:40 +0200 |
| commit | 037ac775e1bd25577463a4cbdf7991ca3f78fddb (patch) | |
| tree | 7cdc1094312b316bfe7ca3afdbef7853c503e31f /CONTRIBUTING.md | |
| parent | feat(parsers): update ziggy, ziggy_schema, bibtex, latex (diff) | |
| download | nvim-treesitter-037ac775e1bd25577463a4cbdf7991ca3f78fddb.tar nvim-treesitter-037ac775e1bd25577463a4cbdf7991ca3f78fddb.tar.gz nvim-treesitter-037ac775e1bd25577463a4cbdf7991ca3f78fddb.tar.bz2 nvim-treesitter-037ac775e1bd25577463a4cbdf7991ca3f78fddb.tar.lz nvim-treesitter-037ac775e1bd25577463a4cbdf7991ca3f78fddb.tar.xz nvim-treesitter-037ac775e1bd25577463a4cbdf7991ca3f78fddb.tar.zst nvim-treesitter-037ac775e1bd25577463a4cbdf7991ca3f78fddb.zip | |
feat: add .tsqueryrc.json
Diffstat (limited to 'CONTRIBUTING.md')
| -rw-r--r-- | CONTRIBUTING.md | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index d82c9cd7b..81cd45dbb 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -364,6 +364,7 @@ the node describing the language and `@injection.content` to describe the inject ```query @injection.language ; dynamic detection of the injection language (i.e. the text of the captured node describes the language) @injection.content ; region for the dynamically detected language +@injection.filename ; indicates that the captured node’s text may contain a filename; the corresponding filetype is then looked-up up via vim.filetype.match() and treated as the name of a language that should be used to re-parse the `@injection.content` ``` For example, to inject javascript into HTML's `<script>` tag |
