diff --git a/lsp-julia.el b/lsp-julia.el index 3e87f98..902f3ff 100644 --- a/lsp-julia.el +++ b/lsp-julia.el @@ -275,17 +275,19 @@ body." "The command to lauch the Julia Language Server." `(,lsp-julia-command ,@lsp-julia-flags - ,(concat "-e" + ,(concat "-e " + "'" "import Pkg; Pkg.instantiate(); " - "using LanguageServer, LanguageServer.SymbolServer;" + "using LanguageServer, LanguageServer.SymbolServer; " ;; " Union{Int64, String}(x::String) = x; " - " server = LanguageServer.LanguageServerInstance(" - " stdin, stdout," - (lsp-julia--get-root) "," - (lsp-julia--get-depot-path) "," - " nothing, " - (lsp-julia--symbol-server-store-path-to-jl) ");" - " run(server);"))) + "server = LanguageServer.LanguageServerInstance(" + "stdin, stdout, " + (lsp-julia--get-root) ", " + (lsp-julia--get-depot-path) ", " + "nothing, " + (lsp-julia--symbol-server-store-path-to-jl) "); " + "run(server);" + "'"))) (defun lsp-julia-update-languageserver () "The command to update the Julia Language Server."