Closed ilitzroth closed 3 years ago
you somehow are using 2+ years old version of lsp-mode - :language-id param was dropped long time ago.
Yep, found that out. I had an outdated straight version of lsp-mode. Maybe some kind of versioning check is possible. Thanks for the speedy reply.
Sounds like you worked it out!
Debugger entered--Lisp error: (error "Keyword argument :major-modes not one of (:languag...") signal(error ("Keyword argument :major-modes not one of (:languag...")) error("Keyword argument %s not one of (:language-id :send..." :major-modes) make-lsp--client--cmacro((make-lsp--client :new-connection (lsp-stdio-connection (lambda nil (lsp-haskell--server-command))) :major-modes '(haskell-mode haskell-literate-mode) :server-id 'lsp-haskell :initialized-fn (lambda (workspace) (with-lsp-workspace workspace (lsp--set-configuration (lsp-configuration-section "haskell")))) :language-id "haskell" :completion-in-comments\? t) :new-connection (lsp-stdio-connection (lambda nil (lsp-haskell--server-command))) :major-modes '(haskell-mode haskell-literate-mode) :server-id 'lsp-haskell :initialized-fn (lambda (workspace) (with-lsp-workspace workspace (lsp--set-configuration (lsp-configuration-section "haskell")))) :language-id "haskell" :completion-in-comments\? t)