- Fix TSType and TSPunctuationSpecial

Move class and module names to @type to be consistent with the other
languages. (fixes #448)

Use @punction.special for interpolation brackets. (fixes #449)
This commit is contained in:
TravonteD 2020-09-11 23:18:58 -04:00 committed by Thomas Vigouroux
parent a755017dd5
commit e1434ff68b

View file

@ -80,7 +80,8 @@
(constant) @constant (constant) @constant
]) ])
(class name: (constant) @constant) (class name: (constant) @type)
(module name: (constant) @type)
; Identifiers ; Identifiers
[ [
@ -144,8 +145,8 @@
] @boolean ] @boolean
(interpolation (interpolation
"#{" @punctuation.bracket "#{" @punctuation.special
"}" @punctuation.bracket) @embedded "}" @punctuation.special) @embedded
(comment) @comment (comment) @comment