Fix other warnings

This commit is contained in:
Bartolomeo Stellato 2018-09-08 16:05:34 -04:00
parent 91bb948b90
commit b3adf241c3
3 changed files with 4 additions and 1 deletions

View File

@ -7,6 +7,7 @@ call ale#Set('julia_executable', 'julia')
function! ale_linters#julia#languageserver#GetCommand(buffer) abort
let l:julia_executable = ale#Var(a:buffer, 'julia_executable')
let l:cmd_string = 'using LanguageServer; server = LanguageServer.LanguageServerInstance(STDIN, STDOUT, false); server.runlinter = true; run(server);'
return l:julia_executable . ' --startup-file=no --history-file=no -e ' . ale#Escape(l:cmd_string)
endfunction

View File

@ -10,8 +10,10 @@ function! ale#julia#FindProjectRoot(buffer) abort
if !empty(l:full_path)
let l:path = fnamemodify(l:full_path, ':p:h')
return l:path
endif
endfor
return ''
endfunction

View File

@ -10,7 +10,7 @@ within julia.
g:ale_julia_executable *g:ale_julia_executable*
*b:ale_julia_executable*
Type: String
Type: |String|
Default: 'julia'
Path to the julia exetuable.