Skip to content

Commit 6852192

Browse files
committed
Fix Function capitalization in Flow annotations
1 parent b3a1e8a commit 6852192

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

extras/flow.vim

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ syntax region jsFlowArray contained matchgroup=jsFlowNoise start=/\[/
44
syntax region jsFlowObject contained matchgroup=jsFlowNoise start=/{/ end=/}/ contains=@jsFlowCluster
55
syntax region jsFlowParens contained matchgroup=jsFlowNoise start=/(/ end=/)/ contains=@jsFlowCluster
66
syntax match jsFlowNoise contained /[:;,<>]/
7-
syntax keyword jsFlowType contained boolean number string null void any mixed JSON array function object array bool class
7+
syntax keyword jsFlowType contained boolean number string null void any mixed JSON array Function object array bool class
88
syntax keyword jsFlowTypeof contained typeof skipempty skipempty nextgroup=jsFlowTypeCustom,jsFlowType
99
syntax match jsFlowTypeCustom contained /[0-9a-zA-Z_.]*/ skipwhite skipempty nextgroup=jsFlowGroup
1010
syntax region jsFlowGroup contained matchgroup=jsFlowNoise start=/</ end=/>/ contains=@jsFlowCluster

0 commit comments

Comments
 (0)