Make expand special characters in g:syntastic_haml_interpreter.
This commit is contained in:
parent
e9118ca2aa
commit
90dc8f3f8f
@ -10,22 +10,22 @@
|
||||
"
|
||||
"============================================================================
|
||||
|
||||
if exists("g:loaded_syntastic_haml_haml_checker")
|
||||
if exists('g:loaded_syntastic_haml_haml_checker')
|
||||
finish
|
||||
endif
|
||||
let g:loaded_syntastic_haml_haml_checker=1
|
||||
|
||||
if !exists("g:syntastic_haml_interpreter")
|
||||
let g:syntastic_haml_interpreter = "haml"
|
||||
if !exists('g:syntastic_haml_interpreter')
|
||||
let g:syntastic_haml_interpreter = 'haml'
|
||||
endif
|
||||
|
||||
function! SyntaxCheckers_haml_haml_IsAvailable()
|
||||
return executable(g:syntastic_haml_interpreter)
|
||||
return executable(expand(g:syntastic_haml_interpreter))
|
||||
endfunction
|
||||
|
||||
function! SyntaxCheckers_haml_haml_GetLocList()
|
||||
let makeprg = syntastic#makeprg#build({
|
||||
\ 'exe': g:syntastic_haml_interpreter,
|
||||
\ 'exe': expand(g:syntastic_haml_interpreter),
|
||||
\ 'args': '-c',
|
||||
\ 'filetype': 'haml',
|
||||
\ 'subchecker': 'haml' })
|
||||
|
Loading…
Reference in New Issue
Block a user