0

I'm using doom emacs.

my ~/.doom.d/config.el is -

(use-package! lsp-mode
:hook
(haskell-mode . lsp)
:commands
lsp)

(use-package! lsp-ui
:commands
lsp-ui-mode)

(use-package! lsp-haskell
:after haskell-mode
:config
(setq lsp-haskell-process-path-hie "ghcide")
(setq lsp-haskell-process-args-hie '())
(add-hook 'haskell-mode-hook #'lsp)
)


(use-package! haskell-mode
:mode "\\.hs$"
:config
(rainbow-delimiters-mode)
;; (setq haskell-font-lock-symbols t)
;;(add-to-list ("<>" . "⊕"))
(setq haskell-font-lock-symbols-alist
        (-reject
        (lambda (elem)
        (or))
        haskell-font-lock-symbols-alist)))

whenever i open haskell file i get error File mode specification error: (void-variable lsp-csharp--action-client-find-references) -

enter image description here

OS details -

$ lsb_release -a
LSB Version:    :core-4.1-amd64:core-4.1-noarch
Distributor ID: Fedora
Description:    Fedora release 32 (Thirty Two)
Release:        32
Codename:       ThirtyTwo

emacs details -

$ emacs -version
GNU Emacs 27.1

How can I solve this issue?

0

I would suggest reinstalling lsp-mode and eventually unpinning the lsp-mode package. If this does not help, can you post the error callstack after M-x toggle-debug-on-error?

2

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.