Ionide-vim
Ionide-vim copied to clipboard
Cannot disable reference code lens (FSAC)
Describe the bug
It doesn't seem possible to disable reference code lens for FSAutoComplete (FSAC).
The FSAC setting FSharp.EnableReferenceCodeLens
is included in the Ionide's list of FSAC configs/settings:
https://github.com/ionide/Ionide-vim/blob/8435bae84b26b602dbb68399661b3989915cc4d3/autoload/fsharp.vim#L178
I am also using lspconfig
.
To Reproduce NA, see expected behaviour
Expected behaviour I would expect to behave like disabling other FSAC settings:
vim.g['fsharp#unused_declarations_analyzer'] = 0 -- Works
vim.g['fsharp#unused_opens_analyzer'] = 0 -- Works
vim.g['fsharp#enable_reference_code_lens'] = 0 -- Doesn't work
But it doesn't work, the reference counter is still there, see screenshot.
Screenshots
Want to disable the 1 References
part.
Environment (please complete the following information):
- OS: Linux Mint 21.3
- Neovim version: v0.9.5
- dotnet SDK version: 8.0.101
- FSAC version: 0.70.1
Additional context This might not be a bug if it is not implemented.