Fix other warnings
This commit is contained in:
parent
91bb948b90
commit
b3adf241c3
@ -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
|
||||
|
||||
|
@ -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
|
||||
|
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user