We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents d34bf34 + c39133e commit ffc0bfdCopy full SHA for ffc0bfd
1 file changed
after/syntax/jsx.vim
@@ -51,7 +51,7 @@ syn region jsxChild contained start=+{+ end=++ contains=jsBlock,javascriptBlock
51
" and generic Flow type annotations (http://flowtype.org/).
52
syn region jsxRegion
53
\ contains=@Spell,@XMLSyntax,jsxRegion,jsxChild,jsBlock,javascriptBlock
54
- \ start=+\%(<\|\w\)\@<!<\z([a-zA-Z][a-zA-Z0-9:\-.]*\>[:,]\@!\)\([^>]*>(\)\@!+
+ \ start=+\%(<\|\w\)\@<!<\z([a-zA-Z_][a-zA-Z0-9:\-.]*\>[:,]\@!\)\([^>]*>(\)\@!+
55
\ skip=+<!--\_.\{-}-->+
56
\ end=+</\z1\_\s\{-}>+
57
\ end=+/>+
0 commit comments