2019-03-04 03:28:35 -05:00
|
|
|
if exists('g:polyglot_disabled') && index(g:polyglot_disabled, 'coffee-script') != -1
|
|
|
|
finish
|
|
|
|
endif
|
|
|
|
|
Add support for basic languages
coffee, cucumbeer, eruby, haml, haskell, javascript,
json, less, nginx, ocaml, ruby, sass, scss, slim,
stylus, textile, tmux
2013-09-12 10:17:03 -04:00
|
|
|
" Language: CoffeeScript
|
2014-11-10 20:37:21 -05:00
|
|
|
" Maintainer: Mick Koch <mick@kochm.co>
|
Add support for basic languages
coffee, cucumbeer, eruby, haml, haskell, javascript,
json, less, nginx, ocaml, ruby, sass, scss, slim,
stylus, textile, tmux
2013-09-12 10:17:03 -04:00
|
|
|
" URL: http://github.com/kchmck/vim-coffee-script
|
|
|
|
" License: WTFPL
|
|
|
|
|
|
|
|
if exists('current_compiler')
|
|
|
|
finish
|
|
|
|
endif
|
|
|
|
|
|
|
|
let current_compiler = 'cake'
|
|
|
|
call coffee#CoffeeSetUpVariables()
|
|
|
|
|
|
|
|
exec 'CompilerSet makeprg=' . escape(g:coffee_cake . ' ' .
|
|
|
|
\ g:coffee_cake_options . ' $*', ' ')
|
|
|
|
call coffee#CoffeeSetUpErrorFormat()
|