aboutsummaryrefslogtreecommitdiff
path: root/runtime/queries/c-sharp
diff options
context:
space:
mode:
authorKirawi2021-11-03 03:00:52 +0000
committerGitHub2021-11-03 03:00:52 +0000
commitee889aaa854d0036da3bae16252bc382e50b0df6 (patch)
tree6b084b76276c1c8f7b6af331329f89f5623f3b4a /runtime/queries/c-sharp
parent7a0c4322eaeef7325878abe9a99adde4ad905f5e (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/c-sharp')
-rw-r--r--runtime/queries/c-sharp/highlights.scm10
1 files changed, 5 insertions, 5 deletions
diff --git a/runtime/queries/c-sharp/highlights.scm b/runtime/queries/c-sharp/highlights.scm
index b76f4e60..6e84ad83 100644
--- a/runtime/queries/c-sharp/highlights.scm
+++ b/runtime/queries/c-sharp/highlights.scm
@@ -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"