diff options
author | Bartolomeo Stellato <bartolomeo.stellato@gmail.com> | 2018-09-07 14:13:44 -0400 |
---|---|---|
committer | Bartolomeo Stellato <bartolomeo.stellato@gmail.com> | 2018-09-07 14:13:44 -0400 |
commit | 68ac4d10954b1f1d9f1ae890e0967014aeb00a52 (patch) | |
tree | 1967e911b396287d7bdda03dbc3923d22837b786 /ale_linters | |
parent | f64f0bb48c6e080932ec3a99ac03a69a57f7a933 (diff) | |
download | ale-68ac4d10954b1f1d9f1ae890e0967014aeb00a52.zip |
Fix julia escaping + minor edits
Diffstat (limited to 'ale_linters')
-rw-r--r-- | ale_linters/julia/languageserver.vim | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/ale_linters/julia/languageserver.vim b/ale_linters/julia/languageserver.vim index c5cd063a..87c3030f 100644 --- a/ale_linters/julia/languageserver.vim +++ b/ale_linters/julia/languageserver.vim @@ -6,7 +6,8 @@ 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 . " --startup-file=no --history-file=no -e 'using LanguageServer; server = LanguageServer.LanguageServerInstance(STDIN, STDOUT, false); server.runlinter = true; run(server);'") + 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 call ale#linter#Define('julia', { |