I have 2 projects on my system. One uses GHCI 9.4.8 and one uses the latest GHCI
GHCI 9.4.8 requires a HLS which is 2.2.0.0
While the latest one requites the latest HLS
I have installed both the HLS
in vscode, the plugin automatically picks the one required regardless of what is set.
but in vim, it doesn’t, nor in helix because they run the command
haskell-language-server-wrapper
which when run in the GHCI-9.4.8 project gives the error
haskell-language-server exe candidates: ["haskell-language-server-9.4.6","haskell-language-server"]
Failed to find a HLS version for GHC 9.4.6
Executable names we failed to find: haskell-language-server-9.4.6,haskell-language-server
But this proves that I have it in my system
So how can we allow the wrapper
to automatically look for the HLS that are not “set” but are installed as the vscode extension does