Remove default installation of lsp-julia
This commit is contained in:
parent
b2368527d3
commit
9568023b83
2 changed files with 17 additions and 6 deletions
|
@ -8,8 +8,9 @@
|
||||||
- [[#module-flags][Module Flags]]
|
- [[#module-flags][Module Flags]]
|
||||||
- [[#plugins][Plugins]]
|
- [[#plugins][Plugins]]
|
||||||
- [[#prerequisites][Prerequisites]]
|
- [[#prerequisites][Prerequisites]]
|
||||||
- [[#features][Features]]
|
|
||||||
- [[#language-server][Language Server]]
|
- [[#language-server][Language Server]]
|
||||||
|
- [[#features][Features]]
|
||||||
|
- [[#language-server-1][Language Server]]
|
||||||
- [[#configuration][Configuration]]
|
- [[#configuration][Configuration]]
|
||||||
|
|
||||||
* Description
|
* Description
|
||||||
|
@ -31,12 +32,24 @@ Adds Julia support to Doom Emacs
|
||||||
* Prerequisites
|
* Prerequisites
|
||||||
This module has no direct 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
|
* Features
|
||||||
# An in-depth list of features, how to use them, and their dependencies.
|
# An in-depth list of features, how to use them, and their dependencies.
|
||||||
** Language Server
|
** 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
|
* 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
|
#+BEGIN_SRC elisp
|
||||||
;; ~/.doom.d/config.el
|
;; ~/.doom.d/config.el
|
||||||
|
@ -44,6 +57,7 @@ This module has no direct prerequisites.
|
||||||
#+END_SRC
|
#+END_SRC
|
||||||
|
|
||||||
If you would like to use your own installation of ~LanguageServer.jl~, put the following in your personal ~config.el~.
|
If you would like to use your own installation of ~LanguageServer.jl~, put the following in your personal ~config.el~.
|
||||||
|
|
||||||
#+BEGIN_SRC elisp
|
#+BEGIN_SRC elisp
|
||||||
;; ~/.doom.d/config.el
|
;; ~/.doom.d/config.el
|
||||||
(setq lsp-julia-package-dir nil)
|
(setq lsp-julia-package-dir nil)
|
||||||
|
|
|
@ -3,6 +3,3 @@
|
||||||
|
|
||||||
(package! julia-mode :pin "1c122f1dff")
|
(package! julia-mode :pin "1c122f1dff")
|
||||||
(package! julia-repl :pin "5fa04de4e7")
|
(package! julia-repl :pin "5fa04de4e7")
|
||||||
|
|
||||||
(when (featurep! +lsp)
|
|
||||||
(package! lsp-julia :recipe (:host github :repo "non-jedi/lsp-julia") :pin "9f158a2"))
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue