Update Julia README.org

This commit is contained in:
AlexLewandowski 2020-04-08 15:01:25 -06:00
parent 69f5578319
commit d6fe5dad65

View file

@ -26,7 +26,7 @@ Adds Julia support to Doom Emacs
+ [[https://github.com/tpapp/julia-repl][julia-mode]] + [[https://github.com/tpapp/julia-repl][julia-mode]]
+ [[https://github.com/JuliaEditorSupport/julia-emacs/][julia-repl]] + [[https://github.com/JuliaEditorSupport/julia-emacs/][julia-repl]]
+ =+lsp= and =:tools lsp= + =+lsp= and =:tools lsp=
+ [[https://github.com/non-jedi/lsp-julia][lsp-julia]] + [[https://github.com/non-jedi/lsp-julia][lsp-julia]]*
+ [[https://github.com/emacs-lsp/lsp-mode][lsp]] + [[https://github.com/emacs-lsp/lsp-mode][lsp]]
* Prerequisites * Prerequisites
@ -45,18 +45,21 @@ packaged version of ~LanguageServer.jl~ and its dependencies.
* 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 ~+lsp~ adds code completion, syntax checking, formatting and other ~lsp-mode~
compatible with Julia v1.0.5 (current LTS) and Julia v1.3. features. This requires a manual installation of ~lsp-julia~ as it bundles
~LanguageServer.jl~ and its dependencies.
* Configuration * Configuration
~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. ~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
(setq lsp-julia-default-environment "~/.julia/environments/v1.0") (setq lsp-julia-default-environment "~/.julia/environments/v1.0")
#+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