@@ -10,23 +10,18 @@ For information on the features =lsp-mode= provides see their [[https://github.c
1010** Installation
1111*** Installing the Julia Language Server
1212**** Included Language Server
13- `lsp-julia` includes a [[https://github.com/non-Jedi/lsp-julia/issues]][working]
14- Language Server using Git submodules by default.
15- To initialize it, execute the following Git command in the directory of this repository:
16- #+BEGIN_SRC shell
17- git submodule update --init --recursive
18- #+END_SRC
19-
20- **** Manual Installation
21- Otherwise, if you'd rather install the Language Server yourself, open a Julia REPL and install LanguageServer.jl.
13+ `lsp-julia` installs `LanguageServer.jl` by default.
2214
23- #+BEGIN_EXAMPLE julia
24- julia> Pkg.add("LanguageServer")
25- #+END_EXAMPLE
15+ **** Change Language Server version
16+ By default the newest Version of `LanguageServer.jl` is installed. To Change the
17+ version, open Julia and initiate the Environment in the subdirectory
18+ `languageserver` from the installation directory of `lsp-julia`. Then use
19+ Julia's `Pkg` to change the installed version.
2620
27- The included server is used by default. To use the manually installed one, you
28- need to also add the following to your init.el:
21+ **** Using a Compiled LanguageServer.jl Image
2922
23+ Add the following to you config:
24+
3025#+BEGIN_SRC emacs-lisp
3126 (setq lsp-julia-package-dir nil)
3227 (setq lsp-julia-flags `("-J/path/to/languageserver.so"))
@@ -52,14 +47,14 @@ about getting this added to melpa soon enough.
5247
5348#+BEGIN_SRC emacs-lisp
5449 (quelpa '(lsp-julia :fetcher github
55- :repo "non-Jedi /lsp-julia"
50+ :repo "gdkrmr /lsp-julia"
5651 :files (:defaults "languageserver")))
5752#+END_SRC
5853**** use-package
5954#+BEGIN_SRC emacs-lisp
6055(use-package lsp-julia
6156 :config
62- (setq lsp-julia-default-environment "~/.julia/environments/v1.5 "))
57+ (setq lsp-julia-default-environment "~/.julia/environments/v1.7 "))
6358#+END_SRC
6459
6560*** Using =lsp-julia= with a julia major mode
0 commit comments