aboutsummaryrefslogtreecommitdiffstats
path: root/CONTRIBUTING.md
diff options
context:
space:
mode:
authorRiley Bruins <ribru17@hotmail.com>2024-05-12 18:00:55 -0700
committerChristian Clason <c.clason@uni-graz.at>2024-05-13 09:16:31 +0200
commitd5a1c2b0c8ec5bb377a41c1c414b315d6b3e9432 (patch)
treea2f6000ac5612a326fa5c91d91f7faf38f9ee5e3 /CONTRIBUTING.md
parentbot(lockfile): update c_sharp, cuda, glsl, hlsl, mlir, solidity, sourcepawn (diff)
downloadnvim-treesitter-d5a1c2b0c8ec5bb377a41c1c414b315d6b3e9432.tar
nvim-treesitter-d5a1c2b0c8ec5bb377a41c1c414b315d6b3e9432.tar.gz
nvim-treesitter-d5a1c2b0c8ec5bb377a41c1c414b315d6b3e9432.tar.bz2
nvim-treesitter-d5a1c2b0c8ec5bb377a41c1c414b315d6b3e9432.tar.lz
nvim-treesitter-d5a1c2b0c8ec5bb377a41c1c414b315d6b3e9432.tar.xz
nvim-treesitter-d5a1c2b0c8ec5bb377a41c1c414b315d6b3e9432.tar.zst
nvim-treesitter-d5a1c2b0c8ec5bb377a41c1c414b315d6b3e9432.zip
feat: standardize and document export keywords
Many export keywords are captured as `@keyword.import`. This commit makes it so they are all captured like that, and mentions it in the documentation.
Diffstat (limited to 'CONTRIBUTING.md')
-rw-r--r--CONTRIBUTING.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md
index 7528eece5..449cddcbd 100644
--- a/CONTRIBUTING.md
+++ b/CONTRIBUTING.md
@@ -167,7 +167,7 @@ As languages differ quite a lot, here is a set of captures available to you when
@keyword.coroutine ; keywords related to coroutines (e.g. `go` in Go, `async/await` in Python)
@keyword.function ; keywords that define a function (e.g. `func` in Go, `def` in Python)
@keyword.operator ; operators that are English words (e.g. `and` / `or`)
-@keyword.import ; keywords for including modules (e.g. `import` / `from` in Python)
+@keyword.import ; keywords for including or exporting modules (e.g. `import` / `from` in Python)
@keyword.type ; keywords describing namespaces and composite types (e.g. `struct`, `enum`)
@keyword.modifier ; keywords modifying other constructs (e.g. `const`, `static`, `public`)
@keyword.repeat ; keywords related to loops (e.g. `for` / `while`)