diff options
author | Jummit | 2023-08-04 14:25:36 +0000 |
---|---|---|
committer | GitHub | 2023-08-04 14:25:36 +0000 |
commit | f19793c2f86dea8e7af8570563e2dd5a8da9fefb (patch) | |
tree | 02a604c37fecc0859d17e065d69cbc558ffb25a3 /runtime/queries/wren/highlights.scm | |
parent | 5a51036bc1e0b5b0bffa599dd2caf171d6924546 (diff) |
Improve wren support (#7819)
Diffstat (limited to 'runtime/queries/wren/highlights.scm')
-rw-r--r-- | runtime/queries/wren/highlights.scm | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/runtime/queries/wren/highlights.scm b/runtime/queries/wren/highlights.scm index 5454ce25..c37bc3bc 100644 --- a/runtime/queries/wren/highlights.scm +++ b/runtime/queries/wren/highlights.scm @@ -1,11 +1,11 @@ -((identifier) @variable.builtin +((name) @variable.builtin (#match? @variable.builtin "^(Bool|Class|Fiber|Fn|List|Map|Null|Num|Object|Range|Sequence|String|System)$")) (call_expression - (identifier) @function) + (name) @function) (method_definition - (identifier) @function.method) + (name) @function.method) ((parameter) @variable.parameter) @@ -13,7 +13,9 @@ (string) @string (raw_string) @string (number) @constant.numeric.integer -(identifier) @variable +(name) @variable +(field) @variable +(static_field) @variable (null) @constant.builtin (boolean) @constant.builtin.boolean |