mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-18 03:10:04 -04:00
doc(README): mention CONTRIBUTING for captures
This commit is contained in:
parent
ca837f5218
commit
316b32b3db
1 changed files with 2 additions and 1 deletions
|
|
@ -383,7 +383,8 @@ EOF
|
||||||
Queries are what `nvim-treesitter` uses to extract information from the syntax tree;
|
Queries are what `nvim-treesitter` uses to extract information from the syntax tree;
|
||||||
they are located in the `queries/{language}/*` runtime directories (see `:h rtp`),
|
they are located in the `queries/{language}/*` runtime directories (see `:h rtp`),
|
||||||
like the `queries` folder of this plugin, e.g. `queries/{language}/{locals,highlights,textobjects}.scm`.
|
like the `queries` folder of this plugin, e.g. `queries/{language}/{locals,highlights,textobjects}.scm`.
|
||||||
Other modules may require additional queries such as `folding.scm`.
|
Other modules may require additional queries such as `folding.scm`. You can find a
|
||||||
|
list of all supported capture names in [CONTRIBUTING.md](https://github.com/nvim-treesitter/nvim-treesitter/blob/master/CONTRIBUTING.md#parser-configurations).
|
||||||
|
|
||||||
All queries found in the runtime directories will be combined.
|
All queries found in the runtime directories will be combined.
|
||||||
By convention, if you want to write a query, use the `queries/` directory,
|
By convention, if you want to write a query, use the `queries/` directory,
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue