summaryrefslogtreecommitdiffstats
path: root/after/syntax/jsx_pretty.vim
diff options
context:
space:
mode:
authorAdam Stankiewicz <sheerun@sher.pl>2020-06-25 13:38:07 +0200
committerAdam Stankiewicz <sheerun@sher.pl>2020-06-25 13:38:15 +0200
commitabca7c20144a1aa0c0197e17cacd892e3ff99ff2 (patch)
tree571bb7b6905b1d42e8a269c2cb643535904b8ec7 /after/syntax/jsx_pretty.vim
parent8b6c06e7239eb46d5b5096fd7fe9507aca88b091 (diff)
downloadvim-polyglot-abca7c20144a1aa0c0197e17cacd892e3ff99ff2.tar.gz
vim-polyglot-abca7c20144a1aa0c0197e17cacd892e3ff99ff2.zip
Update
Diffstat (limited to 'after/syntax/jsx_pretty.vim')
-rw-r--r--after/syntax/jsx_pretty.vim2
1 files changed, 1 insertions, 1 deletions
diff --git a/after/syntax/jsx_pretty.vim b/after/syntax/jsx_pretty.vim
index b2cf858a..d0c2644d 100644
--- a/after/syntax/jsx_pretty.vim
+++ b/after/syntax/jsx_pretty.vim
@@ -4,7 +4,7 @@ let s:highlight_close_tag = get(g:, 'vim_jsx_pretty_highlight_close_tag', 0)
" detect jsx region
syntax region jsxRegion
- \ start=+\%(\%(\_[([,?:=+\-*/>{}]\|<\s\+\|&&\|||\|=>\|\<return\|\<default\|\<await\|\<yield\)\_s*\)\@<=<\_s*\%(>\|\z(\%(script\|T\s*>\s*(\)\@!\<[_$A-Za-z][-:._$A-Za-z0-9]*\>\)\%(\_s*\%([-+*)\]}&|?,]\|/\%([/*]\|\_s*>\)\@!\)\)\@!\)+
+ \ start=+\%(\%(\_[([,?:=+\-*/>{}]\|<\s\+\|&&\|||\|=>\|\<return\|\<default\|\<await\|\<yield\)\_s*\)\@<=<\_s*\%(>\|\z(\%(script\|\s*\<T\>\)\@!\<[_$A-Za-z][-:._$A-Za-z0-9]*\>\)\%(\_s*\%([-+*)\]}&|?,]\|/\%([/*]\|\_s*>\)\@!\)\)\@!\)+
\ end=++
\ contains=jsxElement