We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
arr[0] < num
1 parent 51b5fd5 commit 06e263dCopy full SHA for 06e263d
2 files changed
after/syntax/javascript.vim
@@ -45,7 +45,7 @@ syntax region jsxTag
45
" s~~~~e
46
" A big start regexp borrowed from https://git.io/vDyxc
47
syntax region jsxRegion
48
- \ start=+\(\((\|{\|}\|\[\|\]\|,\|&&\|||\|?\|:\|=\|=>\|\Wreturn\|^return\|\Wdefault\|^\|>\)\_s*\)\@<=<\_s*\z([_\$a-zA-Z]\(\.\?[\$0-9a-zA-Z]\+\)*\)+
+ \ start=+\(\((\|{\|}\|\[\|,\|&&\|||\|?\|:\|=\|=>\|\Wreturn\|^return\|\Wdefault\|^\|>\)\_s*\)\@<=<\_s*\z([_\$a-zA-Z]\(\.\?[\$0-9a-zA-Z]\+\)*\)+
49
\ skip=+<!--\_.\{-}-->+
50
\ end=+</\_s*\z1>+
51
\ end=+/>+
sample.js
@@ -16,6 +16,7 @@ class App extends Component {
16
var c = a<foo
17
var d = a<foo
18
var e = a>c
19
+ var bar = arr[1] < foo;
20
21
if (a<b && a<d || a>c){
22
return <a></a>
0 commit comments