diff options
Diffstat (limited to 'vrsite/assets/typescript.scm')
| -rw-r--r-- | vrsite/assets/typescript.scm | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/vrsite/assets/typescript.scm b/vrsite/assets/typescript.scm deleted file mode 100644 index 96cf9c3..0000000 --- a/vrsite/assets/typescript.scm +++ /dev/null @@ -1,15 +0,0 @@ -; TypeScript highlights, from tree-sitter/tree-sitter-typescript v0.23.2 -; queries/highlights.scm (MIT). A supplement loaded after javascript.scm, as -; upstream composes it, so these patterns win. Upstream's -; ((identifier) @type (#match? "^[A-Z]")) is dropped: javascript.scm already -; paints capitalized identifiers as @constructor, and repainting every one of -; them as a type costs a second regex per identifier for a worse answer. - -["abstract" "declare" "enum" "implements" "interface" "keyof" "namespace" - "private" "protected" "public" "type" "readonly" "override" - "satisfies"] @keyword - -[(type_identifier) (predefined_type)] @type -(type_arguments "<" @punctuation.bracket ">" @punctuation.bracket) -(required_parameter (identifier) @variable.parameter) -(optional_parameter (identifier) @variable.parameter) |
