Skip to content

How to disable completion snippets #680

Closed
@berberman

Description

@berberman

Thanks to all contributors, this is an awesome feature. But it can be annoying sometimes. For functions, supposed that I'm playing with point-free code, or using view patterns, obviously it should not help me complete the arguments. For types, I don't think inserting * makes a lot of sense. Personally speaking, in more than half of cases I have to delete these generated snippets, and they are not informative, since I can grab the details of a function or a type in the populated completion window,

Is there a way to disable this in lsp clients?

Your environment

Output of haskell-language-server --probe-tools or haskell-language-server-wrapper --probe-tools:

haskell-language-server version: 0.7.0.0 (GHC: 8.10.2) (PATH: /home/berberman/.cabal/store/ghc-8.10.2/haskell-language-server-0.7.0.0-366830c6e84454f47d73ac01246969cb5c550194b34bde3428fbd57c6144f4d0/bin/haskell-language-server)
Tool versions found on the $PATH
cabal:		3.2.0.0
stack:		2.5.1
ghc:		8.10.2

Which lsp-client do you use:

vscode

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions