Chris Martin
Chris Martin
Is the meaning of that clear to you as a reader?
@sol Good question. I don't think there's any immediately obvious answer. If you nest a comment, it doesn't show up in the haddock, so how about adding something like this:...
I'm confused about why formatting has anything to do with the responsibilities of HLS. All I *ever* want is for my "format document" command in vscode to do exactly the...
This plugin is what my organization recommends for setting up our formatter: https://marketplace.visualstudio.com/items?itemName=SteefH.external-formatters I haven't been able to use it because HLS's formatter seems to take precedence over what I...
Workaround for using an external `fourmolu` executable in VSCode to override HLS: Install the [jkillian.custom-local-formatters](https://marketplace.visualstudio.com/items?itemName=jkillian.custom-local-formatters) extension. Add the following to `.vscode/settings.json:` ```json { "[haskell]": { "editor.defaultFormatter": "jkillian.custom-local-formatters" }, "customLocalFormatters.formatters": [...
Same problem, with a cabal cradle, on NixOS. ``` Found "/home/chris/step/hie.yaml" for "/home/chris/step/a" Run entered for haskell-language-server-wrapper(haskell-language-server-wrapper) Version 1.8.0.0 x86_64 ghc-9.0.2 Current directory: /home/chris/step Operating system: linux Arguments: ["--lsp"] Cradle...
The problem in my case seems to have resulted from my Nix configuration: I was getting GHC from `nixos-22.05` and haskell-language-server from `nixos-unstable`.
I've just released a new package which adds some of the types that Attoparsec is missing, including `FinalResult`: https://hackage.haskell.org/package/attoparsec-run Would be happy to submit a PR to Attoparsec and deprecate...
I'm not sure why the `-Wno-format-security` workaround from 30d12c0a5 isn't working, but I think the real fix is as simple as using a format string of `%s`, e.g. ``` return...
Okay, so by digging into the source, I see that it expects a directory that contains a directory called `bin` which contains an executable called `ghc`. So from that I...