-
-
Notifications
You must be signed in to change notification settings - Fork 389
Question: my install of haskell-language-server + coc + vim only partially working #187
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Hi, thank you for your bug report! Your |
I am a Haskell beginner, and this is a repo where I am going through the exercises in a book: https://github.com/fjhheras/haskellbook_exercises My intention was to create a common cabal project for all chapters, and then call each exrcise file individually using |
That projects looks complicated to configure correctly... We will need a full cabal project, e.g. each file must be possible to open with cabal. If you use a big cabal project, you will probably need a |
Once you have a What's your motive for wanting all the chapters to be in one cabal project? |
Hi, thank you for your help. I changed the structure so now I have a cabal project for each chapter. The way I did it needs 6 extra lines for each executable (e.g. https://github.com/fjhheras/haskellbook_exercises/blob/master/chapter17/chapter17.cabal), I wonder if there is a better way With the new structure, a For
Once placed, haskell-language-server-wrapper is giving me the following errors:
and
|
@fjhheras have you checked coc wiki about how to install HLS? I'm using binaries provided by @bubba without issues. |
So i would close it if you agree, feel free to reopen |
OK, no worries. |
I have a cabal system installed with ghcup. I installed haskell-language-server using
cabal v2-run ./install.hs --project-file install/shake.project hls
Installation was sucessful, but it is not detecting the installed packages in my cabal projects, among other problems. The hlint I installed with
cabal install hlint
detects the cabal installed packages with no problem.To solve this, I tried to create a hie.yaml file with the following contents:
radle: {cabal: {component: "lib:haskell-language-server"}}
, but when running haskell-language-server I receive this error:Other things (maybe unrelated) that I was not able to configure with vim+coc were:
The text was updated successfully, but these errors were encountered: