ionide / ionide/Ionide-vim

Cannot disable reference code lens (FSAC)

Open
#77 4 comments 1 reaction 1 assignee Claimed by @cannorin View on GitHub
bug
Dominant language
Vim Script
Stars
211
Forks
28
PR merge metrics
No merged PRs in 30d

Description

**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:

I am also using `lspconfig`.

**To Reproduce**
NA, see expected behaviour

**Expected behaviour**
I would expect to behave like disabling other FSAC settings:
```lua
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.
![image](https://github.com/ionide/Ionide-vim/assets/62746606/bd8ef8ce-f5ee-4b27-8bd3-254bdc01280e)

**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.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.