summaryrefslogtreecommitdiffstats
path: root/ftplugin/litcoffee.vim
blob: f0c84c70a97286b1839003d6acee8be49e2880d0 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
let files = filter(globpath(&rtp, 'ftplugin/litcoffee.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, 'coffee-script') == -1

runtime ftplugin/coffee.vim

endif