Skip to content

hls-hlint-plugin not included in 1.8.0.0 (GHC 8.10.7) #3308

@k-narron

Description

@k-narron

First off, hls is awesome. I'm learning haskell right now and it's such a qol/productivity improvement. Thanks!!

Second, I don't know if this has already been flagged or is actively worked on. I did a few quick searches but couldn't find any relevant issues.
Apologies if redundant.

hls and hls-hlint-plugin work as expected in 1.7.0.0.
I just noticed while trying to set this up for the first time that 1.8.0.0 doesn't include hlint, and nothing gets picked up. Code action in neovim doesn't show Apply hint/Ignore hint either.

Your environment

Which OS do you use?

MacOS

Which version of GHC do you use and how did you install it?

8.10.7 from Nix

Which LSP client (editor/plugin) do you use?

Neovim-lspconfig

Steps to reproduce

I use haskell.nix so

  1. setup nix flake with haskell-language-server = "1.8.0.0";
  2. run nix develop . in project directory
  3. list hls plugins
  4. exit nix environment
  5. repeat 1~3 with haskell-language-server = "1.7.0.0";

Expected behaviour

hls-hlint-plugin should be in hls v1.8.0.0 based on documentation.
Only GHC 9.4 is listed as unsupported

Actual behaviour

hls-hlint-plugin is not found in hls v1.8.0.0
hls-hlint-plugin is in hls v1.7.0.0

v1.8.0.0:
hls-1 8 0 0

v1.7.0.0
hls-1 7 0 0

Metadata

Metadata

Assignees

No one assigned

    Labels

    status: needs triagetype: bugSomething isn't right: doesn't work as intended, documentation is missing/outdated, etc..

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions