mirror of
https://github.com/sheerun/vim-polyglot.git
synced 2025-11-08 11:33:52 -05:00
20 lines
534 B
VimL
20 lines
534 B
VimL
if polyglot#init#is_disabled(expand('<sfile>:p'), 'coffee-script', 'compiler/cake.vim')
|
|
finish
|
|
endif
|
|
|
|
" 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()
|