1
0
mirror of https://github.com/SpaceVim/SpaceVim.git synced 2025-01-24 02:40:05 +08:00

Update kotlin.vim

This commit is contained in:
Wang Shidong 2017-05-18 13:48:14 +08:00 committed by wsdjeg
parent 62a139f4f9
commit 1258ca4430

View File

@ -11,5 +11,26 @@ function! SpaceVim#layers#lang#kotlin#plugins() abort
endfunction
function! SpaceVim#layers#lang#kotlin#config() abort
if g:spacevim_enable_neomake
" neomake support:
let g:neomake_kotlin_kotlinc_maker = {
\ 'args': ['-cp', s:classpath(), '-d', s:outputdir()],
\ 'errorformat':
\ "%E%f:%l:%c: error: %m," .
\ "%W%f:%l:%c: warning: %m," .
\ "%Eerror: %m," .
\ "%Wwarning: %m," .
\ "%Iinfo: %m,"
\ }
let g:neomake_kotlin_enabled_makers = ['kotlinc']
endif
endfunction
func! s:classpath()
endf
func! s:outputdir()
endf