mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-19 13:43:36 -05:00
2.1 KiB
2.1 KiB
lang/julia
Description
Adds Julia support to Doom Emacs
- Syntax highlighting and latex symbols from
julia-mode - REPL integration from
julia-repl - Code completion and syntax checking, requires
:tools lspand+lsp
Module Flags
+lspLanguage Server Protocol support
Plugins
- julia-mode
- julia-repl
-
+lspand:tools lsp
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.
;; ~/.doom.d/packages.el
(package! lsp-julia :recipe (:host github :repo "non-jedi/lsp-julia"))
Features
Language Server
+lsp adds code completion, syntax checking, formatting and other lsp-mode
features. This requires a manual installation of lsp-julia as it bundles
LanguageServer.jl and its dependencies.
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.
;; ~/.doom.d/config.el
(setq lsp-julia-default-environment "~/.julia/environments/v1.0")
If you would like to use your own installation of LanguageServer.jl, put the
following in your personal config.el.
;; ~/.doom.d/config.el
(setq lsp-julia-package-dir nil)