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
This commit is contained in:
Kirawi 2021-11-02 23:00:52 -04:00 committed by GitHub
parent 7a0c4322ea
commit ee889aaa85
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
37 changed files with 199 additions and 165 deletions

View file

@ -20,16 +20,16 @@
] @type.builtin
;; Enum
(enum_member_declaration (identifier) @variable.property)
(enum_member_declaration (identifier) @variable.other.member)
;; Literals
[
(real_literal)
(integer_literal)
] @number
] @constant.numeric.integer
(character_literal) @constant.character
[
(character_literal)
(string_literal)
(verbatim_string_literal)
(interpolated_string_text)
@ -40,8 +40,8 @@
"$@\""
] @string
(boolean_literal) @constant.builtin.boolean
[
(boolean_literal)
(null_literal)
(void_keyword)
] @constant.builtin
@ -98,7 +98,7 @@
;; Keywords
(modifier) @keyword
(this_expression) @keyword
(escape_sequence) @keyword
(escape_sequence) @constant.character.escape
[
"as"