summaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorChristian Clason <c.clason@uni-graz.at>2022-01-16 11:35:28 +0100
committerStephan Seitz <stephan.seitz@fau.de>2022-01-16 11:56:40 +0100
commit316b32b3db6960264ec65f60c8f1fee12f336b42 (patch)
treec5bbe33c01ffe651b1e2d1ac0f7ba88f48f09f74 /README.md
parentca837f5218e409a35d987246280f28a43984de31 (diff)
doc(README): mention CONTRIBUTING for captures
Diffstat (limited to 'README.md')
-rw-r--r--README.md3
1 files changed, 2 insertions, 1 deletions
diff --git a/README.md b/README.md
index 0eb2dffa..fbd1c7bb 100644
--- a/README.md
+++ b/README.md
@@ -383,7 +383,8 @@ EOF
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`),
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.
By convention, if you want to write a query, use the `queries/` directory,