aboutsummaryrefslogtreecommitdiffstats
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
parentfix(util): pass offset_encoding to apply_text_edits (diff)
downloadnvim-treesitter-316b32b3db6960264ec65f60c8f1fee12f336b42.tar
nvim-treesitter-316b32b3db6960264ec65f60c8f1fee12f336b42.tar.gz
nvim-treesitter-316b32b3db6960264ec65f60c8f1fee12f336b42.tar.bz2
nvim-treesitter-316b32b3db6960264ec65f60c8f1fee12f336b42.tar.lz
nvim-treesitter-316b32b3db6960264ec65f60c8f1fee12f336b42.tar.xz
nvim-treesitter-316b32b3db6960264ec65f60c8f1fee12f336b42.tar.zst
nvim-treesitter-316b32b3db6960264ec65f60c8f1fee12f336b42.zip
doc(README): mention CONTRIBUTING for captures
-rw-r--r--README.md3
1 files changed, 2 insertions, 1 deletions
diff --git a/README.md b/README.md
index 0eb2dffa3..fbd1c7bbb 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,