2015-07-18 23:05:45 +02: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 16:17:03 +02:00
|
|
|
" Language: CoffeeScript
|
2014-11-11 02:37:21 +01: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 16:17:03 +02: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 23:05:45 +02:00
|
|
|
|
|
|
|
endif
|