mirror of
https://github.com/SpaceVim/SpaceVim.git
synced 2025-01-24 06:10:05 +08:00
Update kotlin.vim
This commit is contained in:
parent
62a139f4f9
commit
1258ca4430
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user