summaryrefslogblamecommitdiffstats
path: root/compiler/cake.vim
blob: 9cd45dbbc14974e419bf985b2e9667a95fc31fc1 (plain) (tree)
1
2
3
4
                                                                                      
 
                           
                                        












                                                                        
 
     
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'coffee-script') == -1

" Language:    CoffeeScript
" Maintainer:  Mick Koch <mick@kochm.co>
" 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()

endif