diff options
| author | Riley Bruins <ribru17@hotmail.com> | 2024-04-23 12:23:15 -0700 |
|---|---|---|
| committer | Christian Clason <c.clason@uni-graz.at> | 2024-05-01 09:59:50 +0200 |
| commit | f58cae6c228e26681039253cb172de16cd764408 (patch) | |
| tree | 5dab18e7bf7eb9fcecc99f543a7b3c6e776291d5 /queries/hack | |
| parent | bot(lockfile): update angular, cpp, djot, html, json5, mlir, python, solidity... (diff) | |
| download | nvim-treesitter-f58cae6c228e26681039253cb172de16cd764408.tar nvim-treesitter-f58cae6c228e26681039253cb172de16cd764408.tar.gz nvim-treesitter-f58cae6c228e26681039253cb172de16cd764408.tar.bz2 nvim-treesitter-f58cae6c228e26681039253cb172de16cd764408.tar.lz nvim-treesitter-f58cae6c228e26681039253cb172de16cd764408.tar.xz nvim-treesitter-f58cae6c228e26681039253cb172de16cd764408.tar.zst nvim-treesitter-f58cae6c228e26681039253cb172de16cd764408.zip | |
feat: more `@keyword.type` captures
Diffstat (limited to 'queries/hack')
| -rw-r--r-- | queries/hack/highlights.scm | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/queries/hack/highlights.scm b/queries/hack/highlights.scm index 35d71e722..bb9d2a55c 100644 --- a/queries/hack/highlights.scm +++ b/queries/hack/highlights.scm @@ -22,12 +22,8 @@ "function" @keyword.function [ - "type" - "interface" "implements" - "class" "using" - "namespace" "attribute" "const" "extends" @@ -35,6 +31,13 @@ ] @keyword [ + "class" + "type" + "interface" + "namespace" +] @keyword.type + +[ "async" "await" ] @keyword.coroutine |
