diff options
author | Kirawi | 2021-11-03 03:00:52 +0000 |
---|---|---|
committer | GitHub | 2021-11-03 03:00:52 +0000 |
commit | ee889aaa854d0036da3bae16252bc382e50b0df6 (patch) | |
tree | 6b084b76276c1c8f7b6af331329f89f5623f3b4a /runtime/queries/zig | |
parent | 7a0c4322eaeef7325878abe9a99adde4ad905f5e (diff) |
Updated tree-sitter query scopes (#896)
* updated theme scopes
variable.property -> variable.field
property -> variable.field
* updated theme scopes
* update book and themes
updated book and themes to reflect scope changes
* wip
* update more queries
* update dark_plus.toml
Diffstat (limited to 'runtime/queries/zig')
-rw-r--r-- | runtime/queries/zig/highlights.scm | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/runtime/queries/zig/highlights.scm b/runtime/queries/zig/highlights.scm index 404a8682..34dbeacd 100644 --- a/runtime/queries/zig/highlights.scm +++ b/runtime/queries/zig/highlights.scm @@ -14,7 +14,7 @@ parameter: (IDENTIFIER) @variable.parameter [ field_member: (IDENTIFIER) field_access: (IDENTIFIER) -] @variable.property +] @variable.other.member ;; assume TitleCase is a type ( @@ -75,9 +75,9 @@ field_constant: (IDENTIFIER) @constant ((BUILTINIDENTIFIER) @keyword.control.import (#any-of? @keyword.control.import "@import" "@cImport")) -(INTEGER) @number +(INTEGER) @constant.numeric.integer -(FLOAT) @number +(FLOAT) @constant.numeric.float [ (LINESTRING) @@ -85,7 +85,7 @@ field_constant: (IDENTIFIER) @constant ] @string (CHAR_LITERAL) @constant.character -(EscapeSequence) @escape +(EscapeSequence) @constant.character.escape (FormatSequence) @string.special [ |