diff options
| author | Amaan Qureshi <amaanq12@gmail.com> | 2023-02-24 06:37:45 -0500 |
|---|---|---|
| committer | Stephan Seitz <stephan.seitz@fau.de> | 2023-03-03 07:07:52 -0800 |
| commit | 33ba346e60c3151fcdafc55d0e547556dc803c03 (patch) | |
| tree | d1c5467293ca8fe4b0f44f05f4d4aa303877a2f8 /queries/dart | |
| parent | docs: add `@keyword.coroutine` (diff) | |
| download | nvim-treesitter-33ba346e60c3151fcdafc55d0e547556dc803c03.tar nvim-treesitter-33ba346e60c3151fcdafc55d0e547556dc803c03.tar.gz nvim-treesitter-33ba346e60c3151fcdafc55d0e547556dc803c03.tar.bz2 nvim-treesitter-33ba346e60c3151fcdafc55d0e547556dc803c03.tar.lz nvim-treesitter-33ba346e60c3151fcdafc55d0e547556dc803c03.tar.xz nvim-treesitter-33ba346e60c3151fcdafc55d0e547556dc803c03.tar.zst nvim-treesitter-33ba346e60c3151fcdafc55d0e547556dc803c03.zip | |
feat!: add `@keyword.coroutine` capture
Diffstat (limited to 'queries/dart')
| -rw-r--r-- | queries/dart/highlights.scm | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/queries/dart/highlights.scm b/queries/dart/highlights.scm index f5e391092..154a92b3a 100644 --- a/queries/dart/highlights.scm +++ b/queries/dart/highlights.scm @@ -195,14 +195,12 @@ [ "return" - "yield" ] @keyword.return ; Built in identifiers: ; alone these are marked as keywords [ - "await" "deferred" "factory" "get" @@ -217,16 +215,21 @@ ] @keyword [ + "async" + "async*" + "sync*" + "await" + "yield" +] @keyword.coroutine + +[ (const_builtin) (final_builtin) "abstract" - "async" - "async*" "covariant" "dynamic" "external" "static" - "sync*" ] @type.qualifier ; when used as an identifier: |
