emacs-lsp / lsp-haskell

lsp-mode :heart: haskell
https://emacs-lsp.github.io/lsp-haskell
GNU General Public License v3.0
236 stars 62 forks source link

problem with installation #124

Closed ilitzroth closed 3 years ago

ilitzroth commented 3 years ago

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)

yyoncho commented 3 years ago

you somehow are using 2+ years old version of lsp-mode - :language-id param was dropped long time ago.

ilitzroth commented 3 years 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.

michaelpj commented 3 years ago

Sounds like you worked it out!