summaryrefslogtreecommitdiffstats
path: root/extras
diff options
context:
space:
mode:
authorDan Reif <dan.reif@collectivehealth.com>2018-06-05 13:50:18 -0700
committerDan Reif <dan.reif@collectivehealth.com>2018-06-05 13:50:18 -0700
commit1f34e0adcfb54b45760d7570d4c270a939daa03b (patch)
tree3016d45f4f2714937790a989be8adda3fe942ae3 /extras
parenta26134de3c09f9725667e14e7073a701bcff4e19 (diff)
downloadvim-polyglot-1f34e0adcfb54b45760d7570d4c270a939daa03b.tar.gz
vim-polyglot-1f34e0adcfb54b45760d7570d4c270a939daa03b.zip
Update (periodic rebuild)
Diffstat (limited to 'extras')
-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 /=/