Closed dod38fr closed 1 year ago
This is related to https://github.com/emacs-lsp/lsp-mode/issues/3738
My bad, this issue comes from the way lsp-mode
is loaded. Loading lsp-mode
the following way fixes my setup:
(require 'lsp-mode)
(add-hook 'terraform-mode #'lsp)
(add-hook 'go-mode #'lsp)
(add-hook 'python-mode #'lsp)
This is affecting me on Doom Emacs, I'm not doing anything like @dod38fr
Like @shackra, I also use Doom Emacs and can confirm this is an issue.
Thank you for the bug report
lsp-mode
related packages.M-x lsp-start-plain
Bug description
Hi
On startup, emacs shows the following error message:
This breaks lsp-mode for terraform-mode and go-mode. The latter is weird because lsp-terraform is the only mode dealing with
docs_link
(with underscore).These modules are loaded with:
Steps to reproduce
This error happens when loading
lsp-mode
Expected behavior
No error when loading
lsp-mode
Which Language Server did you use?
OS
Linux
Error callstack
This call stack comes from enabling
lsp-mode
in a buffer usinggo-mode
.