-
-
Notifications
You must be signed in to change notification settings - Fork 391
Missing/Not Working Coc and Neovim Language Server Features #456
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
I think these are some There have been some other people with issues with (FWIW I also have the |
Yeah its possible there are some CocConfig settings I need to add perhaps? Like I needed to add "codeLens.enable": true in order for codelenses to work, which wasn't mentioned anywhere when I set it up. Maybe there should be a mention in the ReadMe about other Coc configurations you will need to get certain things to work? |
I agree that a small section on editor configuration would be useful in the readme, perhaps something along the lines of 'Some features of this language server are exposed as code-lenses, make sure your editor is set to display these if you want them' (and then the relevant settings for Here is a cast of me using HLint and Retrie with coc.nvim in nvim. |
@expipiplus1 from a quick look that section is still present, is this still sensible? |
Yeah, looks good to me. |
nice, thanks for confirming it |
Subject of the issue
Some haskell language server features don't seem to be available on Neovim with Coc or are not working for me.
Is Working
Is Sorta Working
This clearly runs just fine, but it doesn't appear to be doing anything to the code, even when I format it horribly.
Not Working
Both of these just don't appear at all for me.
I might also have set some stuff up on my side poorly so perhaps that is part of the problem here? Since this is so new, its hard for me to find people to confirm this stuff with.
Your environment
haskell-language-server-wrapper --probe-tools
haskell-language-server version: 0.4.0.0 (GHC: 8.10.1) (PATH: /Users/carterweinberg/.ghcup/bin/haskell-language-server-wrapper-0.4.0) (GIT hash: 0a18edd)
Tool versions found on the $PATH
cabal: 3.2.0.0
stack: 2.3.1
ghc: 8.8.4
lsp-client
Neovim and Coc
I am going through the tutorial servant project.
hie.yaml
( I use the cabal file instead so show that here)library
exposed-modules:
ApiType
Lib
other-modules:
Paths_servantExample
hs-source-dirs:
src
build-depends:
aeson
, base >=4.7 && <5
, servant-server
, wai
, warp
, text
, time
, servant
default-language: Haskell2010
Include debug information
I did find this error in my logs. It's sorta just a large blobby mess so I don't know what to make of it.
Also, here is my CocConfig, just in case that proves necessary.
Thanks for taking the time to build this everyone!
The text was updated successfully, but these errors were encountered: