aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--runtime/queries/gdshader/highlights.scm7
1 files changed, 5 insertions, 2 deletions
diff --git a/runtime/queries/gdshader/highlights.scm b/runtime/queries/gdshader/highlights.scm
index b4bb46ea1..0e29d53e7 100644
--- a/runtime/queries/gdshader/highlights.scm
+++ b/runtime/queries/gdshader/highlights.scm
@@ -1,6 +1,4 @@
[
- "global"
- "instance"
"group_uniforms"
"uniform"
"const"
@@ -10,6 +8,8 @@
"shader_type"
] @keyword
+(scope) @keyword
+
[
"if"
"else"
@@ -213,6 +213,9 @@
(call_expression
function: (identifier) @function.call)
+(method_expression
+ method: (_) @function.method.call)
+
(field_expression
field: (_) @property)