aboutsummaryrefslogtreecommitdiffstats
path: root/CONTRIBUTING.md
diff options
context:
space:
mode:
authorStephan Seitz <stephan.seitz@fau.de>2020-06-07 12:38:57 +0200
committerStephan Seitz <stephan.seitz@fau.de>2020-06-07 12:39:58 +0200
commit8436f2b90b3dbd1a1fdb60f015a5d521880bf2ef (patch)
tree71d38da4e2248e3a4c06907b050b23b921469ce6 /CONTRIBUTING.md
parentAdd call references for Go (diff)
downloadnvim-treesitter-8436f2b90b3dbd1a1fdb60f015a5d521880bf2ef.tar
nvim-treesitter-8436f2b90b3dbd1a1fdb60f015a5d521880bf2ef.tar.gz
nvim-treesitter-8436f2b90b3dbd1a1fdb60f015a5d521880bf2ef.tar.bz2
nvim-treesitter-8436f2b90b3dbd1a1fdb60f015a5d521880bf2ef.tar.lz
nvim-treesitter-8436f2b90b3dbd1a1fdb60f015a5d521880bf2ef.tar.xz
nvim-treesitter-8436f2b90b3dbd1a1fdb60f015a5d521880bf2ef.tar.zst
nvim-treesitter-8436f2b90b3dbd1a1fdb60f015a5d521880bf2ef.zip
Update CONTRIBUTING.md for @doc
Diffstat (limited to 'CONTRIBUTING.md')
-rw-r--r--CONTRIBUTING.md7
1 files changed, 7 insertions, 0 deletions
diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md
index ea31f573e..5a8c74ee6 100644
--- a/CONTRIBUTING.md
+++ b/CONTRIBUTING.md
@@ -94,6 +94,13 @@ are optional and will not have any effect for now.
`macro`
`type`
`field`
+ `doc` for documentation adjecent to a definition. E.g.
+
+```scheme
+ (comment)* @definition.doc
+ (method_declaration
+ name: (field_identifier) @definition.method)
+```
`@scope`