diff --git a/modules/lang/julia/README.org b/modules/lang/julia/README.org index 91f0d9d28..dd014f630 100644 --- a/modules/lang/julia/README.org +++ b/modules/lang/julia/README.org @@ -8,8 +8,9 @@ - [[#module-flags][Module Flags]] - [[#plugins][Plugins]] - [[#prerequisites][Prerequisites]] -- [[#features][Features]] - [[#language-server][Language Server]] +- [[#features][Features]] + - [[#language-server-1][Language Server]] - [[#configuration][Configuration]] * Description @@ -31,12 +32,24 @@ Adds Julia support to Doom Emacs * Prerequisites This module has no direct prerequisites. +** Language Server + +~+lsp~ requires the a manual installation of ~lsp-julia~ as it comes with a +packaged version of ~LanguageServer.jl~ and its dependencies. + +#+BEGIN_SRC elisp +;; ~/.doom.d/packages.el +(package! lsp-julia :recipe (:host github :repo "non-jedi/lsp-julia")) +#+END_SRC + * Features # An in-depth list of features, how to use them, and their dependencies. ** Language Server - ~lsp-julia~ comes with an installation of ~LanguageServer.jl~ currently compatible with Julia v1.0.5 (current LTS) and Julia v1.3. + ~lsp-julia~ comes with an installation of ~LanguageServer.jl~ currently + compatible with Julia v1.0.5 (current LTS) and Julia v1.3. + * Configuration -~lsp-julia~ requires a variable be set for the Julia environment. This is set to v1.0 by default. +~lsp-julia~ requires a variable be set for the Julia environment. This is set to v1.0 by default as it is the current LTS. #+BEGIN_SRC elisp ;; ~/.doom.d/config.el @@ -44,6 +57,7 @@ This module has no direct prerequisites. #+END_SRC If you would like to use your own installation of ~LanguageServer.jl~, put the following in your personal ~config.el~. + #+BEGIN_SRC elisp ;; ~/.doom.d/config.el (setq lsp-julia-package-dir nil) diff --git a/modules/lang/julia/packages.el b/modules/lang/julia/packages.el index 607569f70..1c6ad1e40 100644 --- a/modules/lang/julia/packages.el +++ b/modules/lang/julia/packages.el @@ -3,6 +3,3 @@ (package! julia-mode :pin "1c122f1dff") (package! julia-repl :pin "5fa04de4e7") - -(when (featurep! +lsp) - (package! lsp-julia :recipe (:host github :repo "non-jedi/lsp-julia") :pin "9f158a2"))