Skip to content

Commit

Permalink
Fix potential issue of lsp-julia--rls-command
Browse files Browse the repository at this point in the history
  • Loading branch information
LauraBMo authored Feb 7, 2023
1 parent d6688bb commit a796e90
Showing 1 changed file with 11 additions and 9 deletions.
20 changes: 11 additions & 9 deletions lsp-julia.el
Original file line number Diff line number Diff line change
Expand Up @@ -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."
Expand Down

0 comments on commit a796e90

Please sign in to comment.