summaryrefslogtreecommitdiffstats
path: root/extras
diff options
context:
space:
mode:
authorDan Reif <35710107+CH-DanReif@users.noreply.github.com>2018-06-05 14:18:09 -0700
committerGitHub <noreply@github.com>2018-06-05 14:18:09 -0700
commitd362dca9b3373c2ddc8526eaa80b02bfaa274c7d (patch)
tree3016d45f4f2714937790a989be8adda3fe942ae3 /extras
parenta26134de3c09f9725667e14e7073a701bcff4e19 (diff)
parent1f34e0adcfb54b45760d7570d4c270a939daa03b (diff)
downloadvim-polyglot-d362dca9b3373c2ddc8526eaa80b02bfaa274c7d.tar.gz
vim-polyglot-d362dca9b3373c2ddc8526eaa80b02bfaa274c7d.zip
Merge pull request #315 from sheerun/periodic_rebuild_20180605
Update (periodic rebuild)
Diffstat (limited to '')
-rw-r--r--extras/flow.vim2
1 files changed, 1 insertions, 1 deletions
diff --git a/extras/flow.vim b/extras/flow.vim
index d029db88..b3f899da 100644
--- a/extras/flow.vim
+++ b/extras/flow.vim
@@ -33,7 +33,7 @@ syntax region jsFlowFunctionGroup contained matchgroup=jsFlowNoise start=/
syntax region jsFlowClassGroup contained matchgroup=jsFlowNoise start=/</ end=/>/ contains=@jsFlowCluster skipwhite skipempty nextgroup=jsClassBlock
syntax region jsFlowClassFunctionGroup contained matchgroup=jsFlowNoise start=/</ end=/>/ contains=@jsFlowCluster skipwhite skipempty nextgroup=jsFuncArgs
-syntax region jsFlowTypeStatement start=/type\%(\s\+\k\)\@=/ end=/=\@=/ contains=jsFlowTypeOperator oneline skipwhite skipempty nextgroup=jsFlowTypeValue keepend
+syntax region jsFlowTypeStatement start=/\(opaque\s\+\)\?type\%(\s\+\k\)\@=/ end=/=\@=/ contains=jsFlowTypeOperator oneline skipwhite skipempty nextgroup=jsFlowTypeValue keepend
syntax region jsFlowTypeValue contained matchgroup=jsFlowNoise start=/=/ end=/[\n;]/ contains=@jsFlowCluster,jsFlowGroup,jsFlowMaybe
syntax match jsFlowTypeOperator contained /=/ containedin=jsFlowTypeValue
syntax match jsFlowTypeOperator contained /=/