Skip to content

Disabling completion snippets does not work (anymore) #126

Closed
@hpdeifel

Description

@hpdeifel

Setting lsp-haskell-completion-snippets-on to nil (and restarting the server) has no effect when using the latest haskell-language-server (1.2.0).

This is probably caused by haskell/haskell-language-server#1619 which was introduced in 1.1.0 and changed the setting name from haskell.completionSnippetsOn to the intuitively named haskell.plugin.ghcide-completions.config.snippetsOn.


Doing

(lsp-register-custom-settings
  '(("haskell.plugin.ghcide-completions.config.snippetsOn" lsp-haskell-completion-snippets-on t)))

worked for me to fix it.

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