mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-17 19:00:02 -04:00
Update CONTRIBUTING.md for @doc
This commit is contained in:
parent
5a096cb3f1
commit
8436f2b90b
1 changed files with 7 additions and 0 deletions
|
|
@ -94,6 +94,13 @@ are optional and will not have any effect for now.
|
||||||
`macro`
|
`macro`
|
||||||
`type`
|
`type`
|
||||||
`field`
|
`field`
|
||||||
|
`doc` for documentation adjecent to a definition. E.g.
|
||||||
|
|
||||||
|
```scheme
|
||||||
|
(comment)* @definition.doc
|
||||||
|
(method_declaration
|
||||||
|
name: (field_identifier) @definition.method)
|
||||||
|
```
|
||||||
|
|
||||||
`@scope`
|
`@scope`
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue