2015-07-18 17:05:45 -04:00
|
|
|
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'coffee-script') == -1
|
|
|
|
|
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()
|
2015-07-18 17:05:45 -04:00
|
|
|
|
|
|
|
endif
|