2025/09/07

Newest at the top

2025-09-07 20:30:17 +0200Lycurgus(~juan@user/Lycurgus) Lycurgus
2025-09-07 20:29:00 +0200vanishingideal(~vanishing@user/vanishingideal) (Ping timeout: 256 seconds)
2025-09-07 20:24:44 +0200divlamir(~divlamir@user/divlamir) divlamir
2025-09-07 20:24:19 +0200divlamir(~divlamir@user/divlamir) (Read error: Connection reset by peer)
2025-09-07 20:22:55 +0200 <Rembane> Evening! They're thunking!
2025-09-07 20:19:50 +0200 <[exa]> hows your thunks
2025-09-07 20:19:35 +0200 <[exa]> evenin' guys
2025-09-07 20:11:32 +0200 <haskellbridge> <geekosaur> Fwiw that looks like lsp-haskell is mis-parsing HLS output
2025-09-07 20:10:28 +0200vanishingideal(~vanishing@user/vanishingideal) vanishingideal
2025-09-07 20:04:25 +0200trickard_trickard
2025-09-07 20:02:41 +0200 <slondr> well I filed a bug report with lsp-haskell: https://github.com/emacs-lsp/lsp-haskell/issues/201 we'll see what they say
2025-09-07 20:00:15 +0200img(~img@user/img) img
2025-09-07 19:59:15 +0200ljdarj(~Thunderbi@user/ljdarj) ljdarj
2025-09-07 19:58:57 +0200img(~img@user/img) (Quit: ZNC 1.8.2 - https://znc.in)
2025-09-07 19:56:04 +0200 <slondr> Hmmmmmmmmmmm
2025-09-07 19:55:56 +0200 <slondr> I do *not* get this error with eglot, which does imply that this is a problem with lsp-haskell and not with HLS itself
2025-09-07 19:54:31 +0200humasect(~humasect@dyn-192-249-132-90.nexicom.net) (Quit: Leaving...)
2025-09-07 19:54:05 +0200 <slondr> ok this is really weird actually. some lsp features are totally working! when I mouse over functions I see their docs in a pop-up, when I mouse over definitions it shows me their inferred types. all that is working. it's just also randomly giving me this critical error on line 1 character 1 with a nonsense error message
2025-09-07 19:53:28 +0200tv(~tv@user/tv) tv
2025-09-07 19:50:56 +0200 <slondr> I don't think so? nothing jumps out as an obvious error to mee at least. I'm not even seeing the error reported in my haskell buffer here
2025-09-07 19:50:39 +0200 <slondr> https://paste.tomsmeding.com/S5NDK1ZO
2025-09-07 19:50:27 +0200peterbecich(~Thunderbi@syn-172-222-149-049.res.spectrum.com) (Ping timeout: 252 seconds)
2025-09-07 19:47:09 +0200 <tomsmeding> slondr: cool, is there anything relevant in that hls.log?
2025-09-07 19:46:25 +0200 <slondr> geekosaur: I prefer lsp's output and interactions to eglot generally
2025-09-07 19:45:56 +0200 <geekosaur> (I switched to codium)
2025-09-07 19:45:44 +0200 <slondr> lsp::log shows that it's starting haskell-language-server-wrapper with log output to ../hls.log
2025-09-07 19:45:35 +0200 <geekosaur> I only know a little bit more, but eglot's supposed to be pretty good these days (originally it wasn't and people used other solutions)
2025-09-07 19:45:21 +0200sajenim(~sajenim@user/sajenim) (Ping timeout: 256 seconds)
2025-09-07 19:44:55 +0200tomsmedingwill defer to people who actually know something about emacs
2025-09-07 19:44:34 +0200 <geekosaur> is there some reasom you're not using the built-in eglot?
2025-09-07 19:44:18 +0200 <slondr> yep it's "haskell-language-server-wrapper"
2025-09-07 19:43:50 +0200 <tomsmeding> is the lsp-haskell-server-path still on the default value?
2025-09-07 19:43:35 +0200 <tomsmeding> looks like that starts h-l-s-wrapper
2025-09-07 19:43:16 +0200 <slondr> https://github.com/emacs-lsp/lsp-haskell
2025-09-07 19:43:09 +0200 <slondr> oh to be clear lsp-haskell is a package for my editor
2025-09-07 19:42:53 +0200 <tomsmeding> you may have a plugin in your editor that knows about it and has lain dormant until now
2025-09-07 19:42:35 +0200 <tomsmeding> your editor does not magically know about "haskell-language-server"
2025-09-07 19:42:11 +0200 <slondr> All I did was install lsp-haskell and run lsp in a .hs file. I haven't configured anything else in particular
2025-09-07 19:42:05 +0200 <tomsmeding> also, what editor are you using, and does that editor have the same $PATH as in a terminal?
2025-09-07 19:40:26 +0200 <geekosaur> er, ghcide
2025-09-07 19:40:18 +0200 <tomsmeding> slondr: how have you set up HLS in your editor? Have you, perchance, told it to start h-l-s-9.10.1 specifically? Or that ^ I guess
2025-09-07 19:39:57 +0200 <geekosaur> hm, do you have a stray ghc-ide somewhere on your PATH?
2025-09-07 19:39:40 +0200 <geekosaur> right, that works right apparently
2025-09-07 19:39:20 +0200 <tomsmeding> it just selects HLS for GHC 9.6.7 and it works
2025-09-07 19:39:11 +0200 <tomsmeding> slondr: that... looks very innocuous
2025-09-07 19:39:07 +0200merijn(~merijn@host-vr.cgnat-g.v4.dfn.nl) (Ping timeout: 265 seconds)
2025-09-07 19:38:44 +0200 <slondr> I have Compose on caps lock :)
2025-09-07 19:38:26 +0200 <tomsmeding> no need to use that excuse, I know very young people who do that too :p (I don't though)
2025-09-07 19:38:22 +0200 <slondr> https://paste.tomsmeding.com/IZI6qrQg
2025-09-07 19:38:08 +0200 <geekosaur> yeh, because I'm ancient