bump: :tools lsp
emacs-lsp/lsp-mode@6b6afc00de -> emacs-lsp/lsp-mode@3fa645c039 joaotavora/eglot@e835996e16 -> joaotavora/eglot@bd970be047 - There are multiple issues in the lsp-mode repo (emacs-lsp/lsp-mode#2722), lsp-julia repo (gdkrmr/lsp-julia#23 and gdkrmr/lsp-julia#35), and the LanguageServer.jl repo (julia-vscode/LanguageServer.jl#844) about crashes of the Julia LSP with lsp-mode due to errors caused by the folding capabilities announced by the client. One can work around these issues by enabling folding (see gdkrmr/lsp-julia#23) but that is only a hack and does not fix the underlying issue. The problem is caused by a violation of the LSP specs in lsp-mode which was fixed in emacs-lsp/lsp-mode#3593. The PR updates lsp-mode to the latest commit on the master branch which contains this fix (and some other unrelated fixes, CI passes successfully again), and hence the workaround for lsp-julia can be removed. Ref: emacs-lsp/lsp-mode#3593 Ref: emacs-lsp/lsp-mode#2722 Ref: gdkrmr/lsp-julia#35 Ref: gdkrmr/lsp-julia#23 Ref: julia-vscode/LanguageServer.jl#844 Close: #6516 Co-authored-by: devmotion <devmotion@users.noreply.github.com>
This commit is contained in:
parent
e4a1e4c909
commit
acae9f9acb
2 changed files with 4 additions and 9 deletions
|
@ -80,12 +80,7 @@
|
|||
(unless lsp-julia-default-environment
|
||||
(setq lsp-julia-default-environment
|
||||
(or (car (last (doom-glob "~/.julia/environments/v*")))
|
||||
"~/.julia/environments/v1.6")))
|
||||
:config
|
||||
;; See non-Jedi/lsp-julia#35
|
||||
(setq-hook! 'julia-mode-hook
|
||||
lsp-enable-folding t
|
||||
lsp-folding-range-limit 100))
|
||||
"~/.julia/environments/v1.6"))))
|
||||
|
||||
|
||||
(use-package! eglot-jl
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue