diff options
| author | Wilman Barrios <wilmanbarrios@gmail.com> | 2022-02-19 13:44:00 -0400 |
|---|---|---|
| committer | Stephan Seitz <stephan.seitz@fau.de> | 2022-02-19 20:00:31 +0100 |
| commit | 6d44cc06f435cd42d71a4266f68166850a61bd99 (patch) | |
| tree | 75132e6f0d6f16f68c815c43e8949625cd9012cc /queries/php | |
| parent | refacto: expose a function to set custom capture for the higlighter (diff) | |
| download | nvim-treesitter-6d44cc06f435cd42d71a4266f68166850a61bd99.tar nvim-treesitter-6d44cc06f435cd42d71a4266f68166850a61bd99.tar.gz nvim-treesitter-6d44cc06f435cd42d71a4266f68166850a61bd99.tar.bz2 nvim-treesitter-6d44cc06f435cd42d71a4266f68166850a61bd99.tar.lz nvim-treesitter-6d44cc06f435cd42d71a4266f68166850a61bd99.tar.xz nvim-treesitter-6d44cc06f435cd42d71a4266f68166850a61bd99.tar.zst nvim-treesitter-6d44cc06f435cd42d71a4266f68166850a61bd99.zip | |
highlights(php): highlight use declaration name as type
Diffstat (limited to 'queries/php')
| -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 25ff9c371..c9fbe2994 100644 --- a/queries/php/highlights.scm +++ b/queries/php/highlights.scm @@ -29,6 +29,8 @@ (name) @constant) (trait_declaration name: (name) @type) +(use_declaration + (name) @type) ; Functions, methods, constructors |
