aboutsummaryrefslogtreecommitdiffstats
path: root/queries
diff options
context:
space:
mode:
Diffstat (limited to 'queries')
-rw-r--r--queries/php/highlights.scm5
1 files changed, 2 insertions, 3 deletions
diff --git a/queries/php/highlights.scm b/queries/php/highlights.scm
index 8627bed6b..9f589827c 100644
--- a/queries/php/highlights.scm
+++ b/queries/php/highlights.scm
@@ -96,8 +96,8 @@
(const_declaration (const_element (name) @constant))
-((name) @variable.builtin
- (#eq? @variable.builtin "this"))
+((variable_name) @variable.builtin
+ (#eq? @variable.builtin "$this"))
; Namespace
(namespace_definition
@@ -142,7 +142,6 @@
] @keyword.function
[
- "$"
"abstract"
"break"
"class"