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.
This commit is contained in:
Riley Bruins 2024-05-12 18:00:55 -07:00 committed by Christian Clason
parent 0d2c80b4d0
commit d5a1c2b0c8
11 changed files with 22 additions and 29 deletions

View file

@ -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`)