Unnamed repository; edit this file 'description' to name the repository.
Diffstat (limited to 'runtime/queries/openscad/highlights.scm')
-rw-r--r--runtime/queries/openscad/highlights.scm5
1 files changed, 3 insertions, 2 deletions
diff --git a/runtime/queries/openscad/highlights.scm b/runtime/queries/openscad/highlights.scm
index c06738e8..90d5ac59 100644
--- a/runtime/queries/openscad/highlights.scm
+++ b/runtime/queries/openscad/highlights.scm
@@ -3,13 +3,14 @@
(boolean) @constant.builtin.boolean
(include_path) @string.special.path
+(identifier) @variable
+
(parameters_declaration (identifier) @variable.parameter)
(function_declaration name: (identifier) @function)
(function_call function: (identifier) @function)
(module_call name: (identifier) @function)
-(identifier) @variable
(special_variable) @variable.builtin
[
@@ -60,4 +61,4 @@
"."
] @punctuation.delimiter
-(comment) @comment \ No newline at end of file
+(comment) @comment