fix(julia): update eglot environment discovery
This commit is contained in:
parent
6074fc3aa8
commit
5ab4527b18
1 changed files with 3 additions and 1 deletions
|
@ -91,7 +91,9 @@
|
|||
:after eglot
|
||||
:preface
|
||||
;; Prevent auto-install of LanguageServer.jl
|
||||
(setq eglot-jl-language-server-project "~/.julia/environments/v1.6")
|
||||
(setq eglot-jl-language-server-project
|
||||
(or (car (last (doom-glob "~/.julia/environments/v*")))
|
||||
"~/.julia/environments/v1.6"))
|
||||
:init
|
||||
;; Prevent timeout while installing LanguageServer.jl
|
||||
(setq-hook! 'julia-mode-hook eglot-connect-timeout (max eglot-connect-timeout 60))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue