You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Each version of the haskell-language-server (HLS) supports a different set of GHC versions. See this link
I have two projects, each of which requires a different version of HLS. The latest version (installed via Mason) supports project A and works fine. But I also need version 2.0.0.1 of HLS to support project B.
Is it possible to do this - i.e., have two different versions of the same language server? In case it is relevant, every version of the HLS comes with a wrapper program haskell-language-server-wrapper, which will then point to a specific language server - such as haskell-language-server-9.8.2 or haskell-language-server-9.6.4. Those are versions of the GHC compiler, not of the HLS. So I guess it might be as simple as adding haskell-language-server-9.2.7 to .local/share/nvim/mason/bin, but that kinda defeats the purpose of using Mason.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Each version of the haskell-language-server (HLS) supports a different set of GHC versions. See this link
I have two projects, each of which requires a different version of HLS. The latest version (installed via Mason) supports project A and works fine. But I also need version 2.0.0.1 of HLS to support project B.
Is it possible to do this - i.e., have two different versions of the same language server? In case it is relevant, every version of the HLS comes with a
wrapper
programhaskell-language-server-wrapper
, which will then point to a specific language server - such ashaskell-language-server-9.8.2
orhaskell-language-server-9.6.4
. Those are versions of the GHC compiler, not of the HLS. So I guess it might be as simple as addinghaskell-language-server-9.2.7
to.local/share/nvim/mason/bin
, but that kinda defeats the purpose of using Mason.Beta Was this translation helpful? Give feedback.
All reactions