Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

hlint diagnostics not working #410

Closed
eko234 opened this issue Sep 17, 2020 · 1 comment · Fixed by #166
Closed

hlint diagnostics not working #410

eko234 opened this issue Sep 17, 2020 · 1 comment · Fixed by #166
Labels

Comments

@eko234
Copy link

eko234 commented Sep 17, 2020

Subject of the issue

hlint diagnostics not working

Your environment

Tool versions found on the $PATH
cabal: Not found
stack: 2.3.3
ghc: Not found

-- i'm using ghc-8.8.4

  • Which lsp-client do you use
    kak-lsp

  • Describe your project (alternative: link to the project)
    the base result of runngin "stack new "

  • Contents of hie.yaml
    cradle:
    stack:

    • path: "./src"
      component: "testerino:lib"

    • path: "./app/Main.hs"
      component: "testerino:exe:testerino-exe"

    • path: "./app/Paths_testerino.hs"
      component: "testerino:exe:testerino-exe"

    • path: "./test"
      component: "testerino:test:testerino-test"

Steps to reproduce

i write some flawed lines like f = (_ -> True), which when
using hie in the same editor yields a diagnostic saying i should use (const True) instead, or at least output something
in the diagnostics buffer

Expected behaviour

to actually lint such mistakes listed above

Actual behaviour

nothing

Include debug information

when i see my debug buffer in kakoune 👍 Config-change detected:
LSP: haskell-lsp:configuration parse error. NotificationMessage {_jsonrpc = "2.0", _method = WorkspaceDidChangeConfiguration, _params = DidChangeConfigurationParams {_settings = Object (fromList [])}} "ket " languageServerHaskell" not found"

@fendor
Copy link
Collaborator

fendor commented Sep 17, 2020

Hi!
Hlint is not yet supported in HLS, see #166 which is the implementation, but not merged yet.

@jneira jneira changed the title Diagnostics not working hlint diagnostics not working Sep 17, 2020
@jneira jneira linked a pull request Sep 23, 2020 that will close this issue
7 tasks
pepeiborra pushed a commit that referenced this issue Dec 27, 2020
Running the simplifier is necessary to do things like inline data
constructor wrappers.

Fixes #256 and #393
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants