From 316b32b3db6960264ec65f60c8f1fee12f336b42 Mon Sep 17 00:00:00 2001 From: Christian Clason Date: Sun, 16 Jan 2022 11:35:28 +0100 Subject: doc(README): mention CONTRIBUTING for captures --- README.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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, -- cgit v1.2.3