Unnamed repository; edit this file 'description' to name the repository.
Diffstat (limited to 'runtime/queries/ron/highlights.scm')
| -rw-r--r-- | runtime/queries/ron/highlights.scm | 19 |
1 files changed, 10 insertions, 9 deletions
diff --git a/runtime/queries/ron/highlights.scm b/runtime/queries/ron/highlights.scm index fe0545cd..1061d559 100644 --- a/runtime/queries/ron/highlights.scm +++ b/runtime/queries/ron/highlights.scm @@ -1,11 +1,3 @@ -; Structs -;------------ - -(enum_variant) @type.enum.variant -(struct_entry (_) @variable.other.member ":") -(struct_name (identifier)) @type -(unit_struct) @type.builtin - ; Literals ;------------ @@ -15,6 +7,16 @@ (float) @constant.numeric.float (char) @constant.character +; Structs +;------------ + +(enum_variant) @type.enum.variant +(struct_entry (_) @variable.other.member ":") +(struct_name (identifier)) @type + + + + ; Comments ;------------ @@ -35,7 +37,6 @@ "{" @punctuation.bracket "}" @punctuation.bracket -"-" @operator ; Special ;------------ |