highlights(jsx): fix constant identifier (#1434)

This commit is contained in:
Munif Tanjim 2021-07-11 06:56:10 +06:00 committed by GitHub
parent f6cd2d0b2f
commit f29ead00e6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -32,7 +32,4 @@
; Handle the dot operator effectively - <My.Component />
(jsx_self_closing_element ((nested_identifier (identifier) @tag (identifier) @constructor)))
(variable_declarator ((identifier) @type
(#match? @type "^[A-Z]")))
(jsx_text) @none