#2132 - Implement feature tests with ale#Has

This commit is contained in:
w0rp
2019-04-07 15:34:39 +01:00
parent 3bebcb5d48
commit e85eb82401
11 changed files with 34 additions and 26 deletions

View File

@@ -6,7 +6,7 @@ call ale#Set('elixir_elixir_ls_config', {})
function! ale_linters#elixir#elixir_ls#GetExecutable(buffer) abort
let l:dir = ale#path#Simplify(ale#Var(a:buffer, 'elixir_elixir_ls_release'))
let l:cmd = ale#Has('win32') ? '\language_server.bat' : '/language_server.sh'
let l:cmd = has('win32') ? '\language_server.bat' : '/language_server.sh'
return l:dir . l:cmd
endfunction