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

@ -314,20 +314,10 @@
[
"import"
"from"
"as"
"export"
] @keyword.import
(export_specifier
"as" @keyword.import)
(import_specifier
"as" @keyword.import)
(namespace_export
"as" @keyword.import)
(namespace_import
"as" @keyword.import)
[
"for"
"of"
@ -340,7 +330,6 @@
"break"
"const"
"debugger"
"export"
"extends"
"get"
"let"