Our great sponsors
-
InfluxDB
Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
Yes that happens sometimes. I don't think that can be turned off, it must be some kind of bug in the interaction between the hls and helix. Since helix is developed very actively I used to build it from it's master branch. Some builds exposed this behavior then the next one did not. Currently I am using the last release (23.03-2) and that seems to be fine. Still I might switch back to helix-git, just to be at the bleeding edge. In particular, I can't wait for the merge of the vim like movement PR
I have been using helix with ghcup installed ghc(s) and language servers. It works with Haskell out of box, no configuration necessary. Helix is a modal editor, similar to but distinctly different from the vi family. Although a long time vim user I have found the switch to helix not too difficult and definitely worth the trouble.
You need to ensure that the version of GHC you're using works with HLS, I've been bitten by this a few times when I'm not paying attention when upgrading GHC. I use mason and haven't had any issues getting HLS to work with it, well, rather, getting it to work took a little bit but now it's been working flawlessly since. You can glance at my config for LSP here if you want.
Related posts
- Would you honestly recommend someone learning neovim as they begin their coding journey? Or would you suggest some other kind of IDE first?
- Those who once used Vim as their main text editor/IDE and switched away after the fact, why?
- How to do this in Neovim?
- Can I write vimrc in vimscript9 ?
- I still want multiple cursors and I’ve been using Vim/neovim for 8 years!