summaryrefslogtreecommitdiffstats
path: root/syntax/flow.vim
blob: 7999405cb88e7b9c48591913d563a042c83c9e26 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
let files = filter(globpath(&rtp, 'syntax/flow.vim', 1, 1), { _, v -> v !~ "vim-polyglot" && v !~ $VIMRUNTIME && v !~ "after" })
if len(files) > 0
  exec 'source ' . files[0]
  finish
endif
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'javascript') == -1

runtime syntax/javascript.vim
runtime extras/flow.vim

endif