diff options
author | Bartolomeo Stellato <bartolomeo.stellato@gmail.com> | 2018-09-07 13:16:22 -0400 |
---|---|---|
committer | Bartolomeo Stellato <bartolomeo.stellato@gmail.com> | 2018-09-07 13:16:22 -0400 |
commit | f64f0bb48c6e080932ec3a99ac03a69a57f7a933 (patch) | |
tree | 8fc6dc36fcac631f52795403ec94426b409497b0 /ale_linters/julia/languageserver.vim | |
parent | df72c5f1c11726a8db2c9c22fa579ee59238d0aa (diff) | |
download | ale-f64f0bb48c6e080932ec3a99ac03a69a57f7a933.zip |
Added tests
Diffstat (limited to 'ale_linters/julia/languageserver.vim')
-rw-r--r-- | ale_linters/julia/languageserver.vim | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/ale_linters/julia/languageserver.vim b/ale_linters/julia/languageserver.vim index d59e9959..c5cd063a 100644 --- a/ale_linters/julia/languageserver.vim +++ b/ale_linters/julia/languageserver.vim @@ -1,9 +1,12 @@ " Author: Bartolomeo Stellato <bartolomeo.stellato@gmail.com> " Description: A language server for Julia +" Set julia executable variable +call ale#Set('julia_executable', 'julia') + function! ale_linters#julia#languageserver#GetCommand(buffer) abort let l:julia_executable = ale#Var(a:buffer, 'julia_executable') - return ale#Escape(l:julia_executable) . ale#Escape("--startup-file=no --history-file=no -e 'using LanguageServer; server = LanguageServer.LanguageServerInstance(STDIN, STDOUT, false); server.runlinter = true; run(server);'") + return ale#Escape(l:julia_executable . " --startup-file=no --history-file=no -e 'using LanguageServer; server = LanguageServer.LanguageServerInstance(STDIN, STDOUT, false); server.runlinter = true; run(server);'") endfunction call ale#linter#Define('julia', { |