diff options
| author | Ananda Umamil <zweimach@zweimach.org> | 2023-07-18 01:19:28 +0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-07-17 14:19:28 -0400 |
| commit | 44211e7f6e669b8a07e86abc533b292a30c32d62 (patch) | |
| tree | 5ba0d60b9064f1b4966860ad3a620c3b3fd03306 /queries/typescript | |
| parent | Update README (diff) | |
| download | nvim-treesitter-44211e7f6e669b8a07e86abc533b292a30c32d62.tar nvim-treesitter-44211e7f6e669b8a07e86abc533b292a30c32d62.tar.gz nvim-treesitter-44211e7f6e669b8a07e86abc533b292a30c32d62.tar.bz2 nvim-treesitter-44211e7f6e669b8a07e86abc533b292a30c32d62.tar.lz nvim-treesitter-44211e7f6e669b8a07e86abc533b292a30c32d62.tar.xz nvim-treesitter-44211e7f6e669b8a07e86abc533b292a30c32d62.tar.zst nvim-treesitter-44211e7f6e669b8a07e86abc533b292a30c32d62.zip | |
feat(typescript): highlight decorators, default case, global declaration
Diffstat (limited to 'queries/typescript')
| -rw-r--r-- | queries/typescript/highlights.scm | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/queries/typescript/highlights.scm b/queries/typescript/highlights.scm index 4cb9fab3e..b58ba0e50 100644 --- a/queries/typescript/highlights.scm +++ b/queries/typescript/highlights.scm @@ -136,6 +136,9 @@ (arrow_function parameter: (identifier) @parameter) +;; global declaration +(ambient_declaration "global" @namespace) + ;; function signatures (ambient_declaration (function_signature |
