diff options
| author | Wilman Barrios <wilmanbarrios@gmail.com> | 2022-02-19 13:20:22 -0400 |
|---|---|---|
| committer | Stephan Seitz <stephan.seitz@fau.de> | 2022-02-19 18:26:05 +0100 |
| commit | c0783485e8bca0ada6fc2f65794f56ad8d1536eb (patch) | |
| tree | 826a91eda80ebe95712d5f3defc11829fdf919d1 | |
| parent | ci(tests): download highlight-assertions for faster CI (diff) | |
| download | nvim-treesitter-c0783485e8bca0ada6fc2f65794f56ad8d1536eb.tar nvim-treesitter-c0783485e8bca0ada6fc2f65794f56ad8d1536eb.tar.gz nvim-treesitter-c0783485e8bca0ada6fc2f65794f56ad8d1536eb.tar.bz2 nvim-treesitter-c0783485e8bca0ada6fc2f65794f56ad8d1536eb.tar.lz nvim-treesitter-c0783485e8bca0ada6fc2f65794f56ad8d1536eb.tar.xz nvim-treesitter-c0783485e8bca0ada6fc2f65794f56ad8d1536eb.tar.zst nvim-treesitter-c0783485e8bca0ada6fc2f65794f56ad8d1536eb.zip | |
highlights(php): highlight traits names as type
| -rw-r--r-- | queries/php/highlights.scm | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/queries/php/highlights.scm b/queries/php/highlights.scm index 4188a35ec..25ff9c371 100644 --- a/queries/php/highlights.scm +++ b/queries/php/highlights.scm @@ -27,6 +27,8 @@ (class_constant_access_expression . [(name) (qualified_name)] @type (name) @constant) +(trait_declaration + name: (name) @type) ; Functions, methods, constructors |
