diff options
| author | Kiyoon Kim <yoonkr33@gmail.com> | 2023-02-15 14:56:45 +0000 |
|---|---|---|
| committer | Stephan Seitz <stephan.seitz@fau.de> | 2023-02-16 01:48:37 -0800 |
| commit | 80e41f22ceaa088df6d93a0026d1e7783bc6079e (patch) | |
| tree | 23beec60ee213e52277b74a78325359c7417066a /CONTRIBUTING.md | |
| parent | Update parsers: c_sharp, fortran, sql (diff) | |
| download | nvim-treesitter-80e41f22ceaa088df6d93a0026d1e7783bc6079e.tar nvim-treesitter-80e41f22ceaa088df6d93a0026d1e7783bc6079e.tar.gz nvim-treesitter-80e41f22ceaa088df6d93a0026d1e7783bc6079e.tar.bz2 nvim-treesitter-80e41f22ceaa088df6d93a0026d1e7783bc6079e.tar.lz nvim-treesitter-80e41f22ceaa088df6d93a0026d1e7783bc6079e.tar.xz nvim-treesitter-80e41f22ceaa088df6d93a0026d1e7783bc6079e.tar.zst nvim-treesitter-80e41f22ceaa088df6d93a0026d1e7783bc6079e.zip | |
prettier formatting yml and md
Diffstat (limited to 'CONTRIBUTING.md')
| -rw-r--r-- | CONTRIBUTING.md | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index fd858d459..c01bc569b 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -8,7 +8,7 @@ If you haven't already, you should really come and reach out to us on our As you know, `nvim-treesitter` is roughly split in two parts: - Parser configurations : for various things like `locals`, `highlights` -- What we like to call *modules* : tiny lua modules that provide a given feature, 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. @@ -44,7 +44,7 @@ on the "Neovim tree-sitter" [Matrix channel]. ## Parser configurations Contributing to parser configurations is basically modifying one of the `queries/*/*.scm`. -Each of these `scheme` files contains a *tree-sitter query* for a given purpose. +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. @@ -56,7 +56,7 @@ For now these are the types of queries used by `nvim-treesitter`: - `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. +For 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://github.com/nvim-treesitter/nvim-treesitter#supported-languages), @@ -222,7 +222,6 @@ Used for XML-like tags. #### Conceal - ```scheme @conceal ; for captures that are only used for concealing ``` |
