diff options
| author | Omer Tuchfeld <omertuchfeld@gmail.com> | 2021-12-18 19:07:18 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-12-18 18:07:18 +0000 |
| commit | 4f2b4238ee09f6497586c8cfb6c74d09a0a8b4fd (patch) | |
| tree | fc859bb817b7f946a9295a5baccfaac4252f3cbe | |
| parent | Update lockfile.json (diff) | |
| download | nvim-treesitter-4f2b4238ee09f6497586c8cfb6c74d09a0a8b4fd.tar nvim-treesitter-4f2b4238ee09f6497586c8cfb6c74d09a0a8b4fd.tar.gz nvim-treesitter-4f2b4238ee09f6497586c8cfb6c74d09a0a8b4fd.tar.bz2 nvim-treesitter-4f2b4238ee09f6497586c8cfb6c74d09a0a8b4fd.tar.lz nvim-treesitter-4f2b4238ee09f6497586c8cfb6c74d09a0a8b4fd.tar.xz nvim-treesitter-4f2b4238ee09f6497586c8cfb6c74d09a0a8b4fd.tar.zst nvim-treesitter-4f2b4238ee09f6497586c8cfb6c74d09a0a8b4fd.zip | |
Fix misleading text in `CONTRIBUTING.md` (#2137)
| -rw-r--r-- | CONTRIBUTING.md | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 6397a08d4..be75a7b54 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -48,12 +48,13 @@ Each of these `scheme` files contains a *tree-sitter query* for a given purpose. Before going any further, we highly suggest that you [read more about tree-sitter queries](https://tree-sitter.github.io/tree-sitter/using-parsers#pattern-matching-with-queries). Each query has an appropriate name, which is then used by modules to extract data from the syntax tree. -For now two types of queries are used by `nvim-treesitter`: +For now these are the types of queries used by `nvim-treesitter`: - `highlights.scm`: used for syntax highlighting, using the `highlight` module. - `locals.scm`: used to extract keyword definitions, scopes, references, etc, using the `locals` module. - `textobjects.scm`: used to define text objects. - `folds.scm`: used to define folds. +- `injections.scm`: used to define injections. For these types there is a *norm* you will have to follow so that features work fine. Here are some global advices : |
