Skip to content

HLS configuration options and lsp-haskell #198

Open
@dschrempf

Description

@dschrempf

Probably related: #99.

I was worried about the alignment of configuration options in lsp-haskell, and the actuall options ("Configuration") provided by HLS.

Looking into lsp-haskell.el, it seems like a good chunk of work to drag along the configuration options, which are exposed by HSL, on the Emacs side. I saw that there is actually an HLS command (!) generating the extension schema for VSCode

haskell-language-server vscode-extension-schema

First, I was wondering what is the reason why this is VSCode-sepcific? Actually, I was thinking we should provide this schema in an editor agnostic way (JSON I guess; the VSCode schema comes pretty close but some information we have in lsp-haskell.el is actually not available in the VSCode extension schema).

What do you think?

PS: There is a separate command printing the default configuration, but it is even less useful for scraping the available configuration options.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions