scala fsc: use util#shexpand() instead

This commit is contained in:
kongo2002 2013-07-19 01:05:19 +02:00
parent 9e5c15f966
commit f68fb27270

View File

@ -27,7 +27,7 @@ function! SyntaxCheckers_scala_fsc_GetLocList()
" fsc has some serious problems with the
" working directory changing after being started
" that's why we better pass an absolute path
let file = expand('%:p')
let file = syntastic#util#shexpand('%:p')
let args = '-Ystop-after:parser ' . g:syntastic_scala_options
let makeprg = 'fsc ' . args . ' ' . file