diff options
author | Horacio Sanson <hsanson@gmail.com> | 2021-01-16 15:58:21 +0900 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-01-16 15:58:21 +0900 |
commit | 9387ccfbc57f34f9fdc6af85cd0dbddf5ee8c5ae (patch) | |
tree | 5153be85d6d1a5602e4d0830f3a10c68e512c55e /test/command_callback | |
parent | bbac230008f8007f2c6e444f66bc49afc0d2c12a (diff) | |
parent | 6043eeb25ad9019aa1322912de1081fa8a0fa299 (diff) | |
download | ale-9387ccfbc57f34f9fdc6af85cd0dbddf5ee8c5ae.zip |
Merge pull request #3485 from andreaconti/master
Fix Julia Language Server Support
Diffstat (limited to 'test/command_callback')
-rw-r--r-- | test/command_callback/test_julia_languageserver_callbacks.vader | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/test/command_callback/test_julia_languageserver_callbacks.vader b/test/command_callback/test_julia_languageserver_callbacks.vader index 3bc46e3d..96df81f1 100644 --- a/test/command_callback/test_julia_languageserver_callbacks.vader +++ b/test/command_callback/test_julia_languageserver_callbacks.vader @@ -11,16 +11,16 @@ After: Execute(The default executable path should be correct): AssertLinter 'julia', \ ale#Escape('julia') . - \' --startup-file=no --history-file=no -e ' . - \ ale#Escape('using LanguageServer; server = LanguageServer.LanguageServerInstance(isdefined(Base, :stdin) ? stdin : STDIN, isdefined(Base, :stdout) ? stdout : STDOUT, false); server.runlinter = true; run(server);') + \' --project=@. --startup-file=no --history-file=no -e ' . + \ ale#Escape('using LanguageServer; using Pkg; import StaticLint; import SymbolServer; server = LanguageServer.LanguageServerInstance(isdefined(Base, :stdin) ? stdin : STDIN, isdefined(Base, :stdout) ? stdout : STDOUT, dirname(Pkg.Types.Context().env.project_file)); server.runlinter = true; run(server);') Execute(The executable should be configurable): let g:ale_julia_executable = 'julia-new' AssertLinter 'julia-new', \ ale#Escape('julia-new') . - \' --startup-file=no --history-file=no -e ' . - \ ale#Escape('using LanguageServer; server = LanguageServer.LanguageServerInstance(isdefined(Base, :stdin) ? stdin : STDIN, isdefined(Base, :stdout) ? stdout : STDOUT, false); server.runlinter = true; run(server);') + \' --project=@. --startup-file=no --history-file=no -e ' . + \ ale#Escape('using LanguageServer; using Pkg; import StaticLint; import SymbolServer; server = LanguageServer.LanguageServerInstance(isdefined(Base, :stdin) ? stdin : STDIN, isdefined(Base, :stdout) ? stdout : STDOUT, dirname(Pkg.Types.Context().env.project_file)); server.runlinter = true; run(server);') Execute(The project root should be detected correctly): AssertLSPProject '' |