aboutsummaryrefslogtreecommitdiff
path: root/runtime/queries/javascript/highlights.scm
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/queries/javascript/highlights.scm')
-rw-r--r--runtime/queries/javascript/highlights.scm4
1 files changed, 2 insertions, 2 deletions
diff --git a/runtime/queries/javascript/highlights.scm b/runtime/queries/javascript/highlights.scm
index e29829bf..6163b680 100644
--- a/runtime/queries/javascript/highlights.scm
+++ b/runtime/queries/javascript/highlights.scm
@@ -65,7 +65,7 @@
; Properties
;-----------
-(property_identifier) @property
+(property_identifier) @variable.other.member
; Literals
;---------
@@ -88,7 +88,7 @@
] @string
(regex) @string.regexp
-(number) @number
+(number) @constant.numeric.integer
; Tokens
;-------