prettier formatting yml and md

This commit is contained in:
Kiyoon Kim 2023-02-15 14:56:45 +00:00 committed by Stephan Seitz
parent 37544570c9
commit 80e41f22ce
9 changed files with 36 additions and 32 deletions

View file

@ -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
```