mrcjkb / haskell-tools.nvim

🦥 Supercharge your Haskell experience in neovim!
GNU General Public License v2.0
475 stars 19 forks source link

Try both haskell-language-server-wrapper and haskell-language-server by default #233

Closed purefn closed 1 year ago

purefn commented 1 year ago

Feature description

I'm using haskell.nix and its shellFor to supply HLS. haskell.nix does not provide the wrapper script, https://github.com/input-output-hk/haskell.nix/issues/1776, just the exe. If there isn't a wrapper available, we should check to see if we can find a haskell-language-server exe on the path.

mrcjkb commented 1 year ago

Hi. Thanks for the suggestion. I'll add that to the upcoming 2.0.0 release.