2019-03-04 09:28:35 +01: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 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()
|