mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-18 19:30:02 -04:00
docs: add @comment.documentation
This commit is contained in:
parent
95bcd6a8fa
commit
3a82b58745
1 changed files with 7 additions and 6 deletions
|
|
@ -89,12 +89,13 @@ effect on highlighting. We will work on improving highlighting in the near futur
|
||||||
#### Misc
|
#### Misc
|
||||||
|
|
||||||
```scheme
|
```scheme
|
||||||
@comment ; line and block comments
|
@comment ; line and block comments
|
||||||
@error ; syntax/parser errors
|
@comment.documentation ; comments documenting code
|
||||||
@none ; completely disable the highlight
|
@error ; syntax/parser errors
|
||||||
@preproc ; various preprocessor directives & shebangs
|
@none ; completely disable the highlight
|
||||||
@define ; preprocessor definition directives
|
@preproc ; various preprocessor directives & shebangs
|
||||||
@operator ; symbolic operators (e.g. `+` / `*`)
|
@define ; preprocessor definition directives
|
||||||
|
@operator ; symbolic operators (e.g. `+` / `*`)
|
||||||
```
|
```
|
||||||
|
|
||||||
#### Punctuation
|
#### Punctuation
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue