diff options
-rw-r--r-- | ale_linters/julia/languageserver.vim | 1 | ||||
-rw-r--r-- | autoload/ale/julia.vim | 2 | ||||
-rw-r--r-- | doc/ale-julia.txt | 2 |
3 files changed, 4 insertions, 1 deletions
diff --git a/ale_linters/julia/languageserver.vim b/ale_linters/julia/languageserver.vim index 87c3030f..bf459926 100644 --- a/ale_linters/julia/languageserver.vim +++ b/ale_linters/julia/languageserver.vim @@ -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 diff --git a/autoload/ale/julia.vim b/autoload/ale/julia.vim index c544b1fa..18dd9ad7 100644 --- a/autoload/ale/julia.vim +++ b/autoload/ale/julia.vim @@ -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 diff --git a/doc/ale-julia.txt b/doc/ale-julia.txt index c65a4f52..51532419 100644 --- a/doc/ale-julia.txt +++ b/doc/ale-julia.txt @@ -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. |