diff options
| author | Ananda Umamil <zweimach@zweimach.org> | 2023-06-04 11:04:40 +0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-06-04 00:04:40 -0400 |
| commit | bee003b880f8c1a04ed368d810e6daf8fc6da762 (patch) | |
| tree | 0d5dd9209bfff6fffa52e568cfed36ecf2896d29 /queries/typescript | |
| parent | feat(typescript): highlight `is` and `:` in type predicate (diff) | |
| download | nvim-treesitter-bee003b880f8c1a04ed368d810e6daf8fc6da762.tar nvim-treesitter-bee003b880f8c1a04ed368d810e6daf8fc6da762.tar.gz nvim-treesitter-bee003b880f8c1a04ed368d810e6daf8fc6da762.tar.bz2 nvim-treesitter-bee003b880f8c1a04ed368d810e6daf8fc6da762.tar.lz nvim-treesitter-bee003b880f8c1a04ed368d810e6daf8fc6da762.tar.xz nvim-treesitter-bee003b880f8c1a04ed368d810e6daf8fc6da762.tar.zst nvim-treesitter-bee003b880f8c1a04ed368d810e6daf8fc6da762.zip | |
feat(ecma): convert eligible `@keyword.operators`
Diffstat (limited to 'queries/typescript')
| -rw-r--r-- | queries/typescript/highlights.scm | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/queries/typescript/highlights.scm b/queries/typescript/highlights.scm index 7aaa3fca2..239de88fd 100644 --- a/queries/typescript/highlights.scm +++ b/queries/typescript/highlights.scm @@ -6,17 +6,20 @@ "export" "implements" "interface" - "keyof" "type" "namespace" "override" - "satisfies" "module" "infer" "is" ] @keyword -(as_expression "as" @keyword) +[ + "keyof" + "satisfies" +] @keyword.operator + +(as_expression "as" @keyword.operator) [ "abstract" |
