Closed MMesch closed 2 years ago
I can't get type information of the symbol under the cursor
To be clear, only top level symbols are supported - but that's the same for autocomplete. In general, if completion works for a given identifier, hover should work, from the POV of the language server.
I'd suggest looking at whatever logging you have of the language server interaction to determine "how far" things get.
I can't get purty to work with the standard bindings. The :Format or CocAction('format') command simply doesn't do anything, although it works when I do %!purty format %` manually.
That's odd; it works just fine for me. I'll investigate later.
Any update on this issue? I don't think there's a language server issue here, as such I will close if there is no update
As for me, since then I've moved to Neovim's built-in LSP client, so I can't really check anything.
@MMesch did you check out https://github.com/leighman/coc-purty?
purty (or the 2 other formatters) should be supported via the language server with standard formatting request - and are known to work if they are available in your path - so any issues are likely to be in LSP client configuration - and if there is an issue in the language server, I would need a communication log to investigate that.
I know formatting is working with neovim builtin lsp client & this server, at the least, not sure if someone is using it with coc.nvim and can suggest config.
purty (or the 2 other formatters) should be supported via the language server with standard formatting request
Yeah, I figured that out just before you sent your message. :)
Closing for lack of follow up & reported working by another user; @MMesch if you still have an issue please feel free to re-open, prefererably with a LSP communication log showing the issue.
Hey, just checked and it works now after some updates. Sorry for not following up directly.
I am happily using purescript language server with neovim CoC. It works well but I can't find out how to use some features.
K
, or:call Show_documentation()
doesn't do anything. On the other hand, type information does show fine on warnings, error or autocomplete in insert mode.:Format
orCocAction('format') command simply doesn't do anything, although it works when I do
%!purty format %` manually.Here are the bindings that I use for these commands:
Any idea? Also, let me know if there is a better place to ask this question.