From d3dbd4590ea52e3ae4f7a6b280280f65b404cc79 Mon Sep 17 00:00:00 2001 From: Michael Härtl Date: Mon, 24 Jan 2022 11:38:51 +0100 Subject: fix(phpdoc) Improve keyword query --- queries/phpdoc/highlights.scm | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'queries/phpdoc') diff --git a/queries/phpdoc/highlights.scm b/queries/phpdoc/highlights.scm index 047ee3aa8..b0433da9f 100644 --- a/queries/phpdoc/highlights.scm +++ b/queries/phpdoc/highlights.scm @@ -34,9 +34,9 @@ (email_address) @text.uri ) -[ - "$" - ">" - "<" - "|" -]@keyword +(type_list "|" @keyword) +(variable_name "$" @keyword) +(tag + (tag_name) @_tag_name + ["<" ">"] @keyword + (#eq? @_tag_name "@author")) -- cgit v1.2.3-70-g09d2