mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-01 12:17:25 -05:00
tweak(julia): update lsp environment to recent LTS
This commit is contained in:
committed by
Henrik Lissner
parent
1643124104
commit
1f27a68ae6
@ -80,7 +80,7 @@
|
|||||||
(unless lsp-julia-default-environment
|
(unless lsp-julia-default-environment
|
||||||
(setq lsp-julia-default-environment
|
(setq lsp-julia-default-environment
|
||||||
(or (car (last (doom-glob "~/.julia/environments/v*")))
|
(or (car (last (doom-glob "~/.julia/environments/v*")))
|
||||||
"~/.julia/environments/v1.0")))
|
"~/.julia/environments/v1.6")))
|
||||||
:config
|
:config
|
||||||
;; See non-Jedi/lsp-julia#35
|
;; See non-Jedi/lsp-julia#35
|
||||||
(setq-hook! 'julia-mode-hook
|
(setq-hook! 'julia-mode-hook
|
||||||
@ -94,7 +94,7 @@
|
|||||||
:after eglot
|
:after eglot
|
||||||
:preface
|
:preface
|
||||||
;; Prevent auto-install of LanguageServer.jl
|
;; Prevent auto-install of LanguageServer.jl
|
||||||
(setq eglot-jl-language-server-project "~/.julia/environments/v1.0")
|
(setq eglot-jl-language-server-project "~/.julia/environments/v1.6")
|
||||||
:init
|
:init
|
||||||
;; Prevent timeout while installing LanguageServer.jl
|
;; Prevent timeout while installing LanguageServer.jl
|
||||||
(setq-hook! 'julia-mode-hook eglot-connect-timeout (max eglot-connect-timeout 60))
|
(setq-hook! 'julia-mode-hook eglot-connect-timeout (max eglot-connect-timeout 60))
|
||||||
|
Reference in New Issue
Block a user