mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-01 19:17:02 -04:00
Typo fix and reword doc
This commit is contained in:
parent
a8fa230faa
commit
f2427d69ea
1 changed files with 2 additions and 3 deletions
|
|
@ -76,9 +76,8 @@ line of your file_.
|
||||||
; inherits: lang1,(optionallang)
|
; inherits: lang1,(optionallang)
|
||||||
```
|
```
|
||||||
|
|
||||||
If you want to include a language for a given query, but don't want for the queries including the
|
If you want to inherit a language, but don't want the languages inheriting from yours to inherit it,
|
||||||
query you qre writing to include it too, you can mark the language as optional (by putting it
|
you can mark the language as optional (by putting it between parenthesis).
|
||||||
between parenthesis).
|
|
||||||
|
|
||||||
### Highlights
|
### Highlights
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue