Ionide-vim icon indicating copy to clipboard operation
Ionide-vim copied to clipboard

number of references not displaying until I do FSharpUpdateServerConfig

Open quantum-booty opened this issue 2 years ago • 2 comments

before: image

after: image

quantum-booty avatar Mar 13 '22 13:03 quantum-booty

This is because 1) FSAC is kind of slow to launch and 2) Neovim's LSP implementation is a bit weird in that it requests CodeLens as soon as the language server launches.

So this is a duplicate of #43:

it seems like it has something to do with the fact FSAC is kind of "slow" to launch, so that FSAC can't respond to the initial CodeLens request. I noticed when I use LanguageClient-neovim it correctly shows CodeLens from the beginning, so I'm suspecting Neovim's LSP implementation is weird (or maybe wrong).

I suspect there is nothing we can do on Ionide-vim side.

cannorin avatar Mar 15 '22 07:03 cannorin

I'm getting this too, but for me the refs always show as ZERO.. even when that's plainly untrue, and not just from other projects like csharp ones.

WillEhrendreich avatar Jun 29 '22 12:06 WillEhrendreich

Closing in favor of https://github.com/ionide/Ionide-vim/issues/43.

Note that it seems we have to either fix neovim or FsAutoComplete to get rid of this. I suspect there is nothing we can do on Ionide-vim's end.

cannorin avatar Sep 02 '22 12:09 cannorin