Open
Description
When activating HLS in Cabal files (or Cabal project files) in Emacs with lsp-mode
and lsp-haskell
, we get a lot of warnings of the form
LSP :: Error from the Language Server: No plugins are available to handle this SMethod_TextDocumentDocumentHighlight request.
Plugins installed for this method, but not available to handle this request are:
ghcide-hover-and-symbols does not support .cabal filetypes). (Method not Found)
For details, please see emacs-lsp/lsp-haskell#196.
TL;DR: HLS correctly advertises the super set of its capabilities across all file types. And, for a sepcific file type, HLS can only handle a subset of capabilities.
We were wondering if the problem lies with HLS or with the language server client. That is, instead of returning an error, should HLS probably return something like "no highlight"?
Metadata
Metadata
Assignees
Labels
No labels