diff options
| author | Thomas Vigouroux <tomvig38@gmail.com> | 2020-05-07 09:26:02 +0200 |
|---|---|---|
| committer | Thomas Vigouroux <tomvig38@gmail.com> | 2020-05-07 14:03:29 +0200 |
| commit | c6b0a62bd6e8874925e9c3b368df4e5e12e5eaef (patch) | |
| tree | 8fe07f3adbf29af508d24c0291677d6ac4dff9d2 | |
| parent | fix(lua): update queries (diff) | |
| download | nvim-treesitter-c6b0a62bd6e8874925e9c3b368df4e5e12e5eaef.tar nvim-treesitter-c6b0a62bd6e8874925e9c3b368df4e5e12e5eaef.tar.gz nvim-treesitter-c6b0a62bd6e8874925e9c3b368df4e5e12e5eaef.tar.bz2 nvim-treesitter-c6b0a62bd6e8874925e9c3b368df4e5e12e5eaef.tar.lz nvim-treesitter-c6b0a62bd6e8874925e9c3b368df4e5e12e5eaef.tar.xz nvim-treesitter-c6b0a62bd6e8874925e9c3b368df4e5e12e5eaef.tar.zst nvim-treesitter-c6b0a62bd6e8874925e9c3b368df4e5e12e5eaef.zip | |
fix(CONTRIBUTING): typos
| -rw-r--r-- | CONTRIBUTING.md | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index e828b5a90..b42950b63 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -3,11 +3,11 @@ First of all, thank you very much for contributing to `nvim-treesitter`. If you haven't already, you should really come and reach out to us on our [gitter](https://gitter.im/nvim-treesitter/community?utm_source=share-link&utm_medium=link&utm_campaign=share-link) -room, so that we can help you contributing ! +room, so we can help you with any question you might have! As you know, `nvim-treesitter` is roughly splitted in two parts : - Parser configurations : for various things like `locals`, `highlights` - - What we like to call *modules* : tiny lua modules that provide a given featurs, based on parser configurations + - What we like to call *modules* : tiny lua modules that provide a given feature, based on parser configurations Depending on which part of the plugin you want to contribute to, please read the appropriate section. @@ -20,9 +20,9 @@ Before going any further, we highly suggest that you [read more about tree-sitte 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`: - `highlights.scm` : used for syntax highlighting, using the `highlight` module. - - `locals.scm` : used to exctract keyword definitions, scopes, references,... using the `locals` module. + - `locals.scm` : used to extract keyword definitions, scopes, references,... using the `locals` module. -For both of thses types there is a *norm* you will have to follow so that features work fine. +For both of these types there is a *norm* you will have to follow so that features work fine. Here are some global advices : - If your language is listed [here](https://tree-sitter.github.io/tree-sitter/using-parsers#pattern-matching-with-queries), you can debug and experiment with your queries there. @@ -33,7 +33,7 @@ Here are some global advices : ### Highlights As languages differ quite a lot, here is a set of captures available to you when building a `highlights.scm` query. -On important thing to note is that many of these capture groups are not supported by `neovim` for now, and will not have any +One important thing to note is that many of these capture groups are not supported by `neovim` for now, and will not have any effect on highlighting. We will work on improving highlighting in the near future though. #### Misc |
