Skip to content

Commit

Permalink
Fix -1 codelens (#965)
Browse files Browse the repository at this point in the history
  • Loading branch information
Krzysztof-Cieslak committed Jul 12, 2022
1 parent 6eae065 commit 4c042a7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/FsAutoComplete/FsAutoComplete.Lsp.fs
Original file line number Diff line number Diff line change
Expand Up @@ -1889,7 +1889,7 @@ type FSharpLspServer(state: State, lspClient: FSharpLspClient) =
let allUses = mixedUsages.Values |> Array.concat

let cmd =
if allUses.Length = 1 then
if allUses.Length <= 1 then
// 1 reference means that it's only the declaration, so it's actually 0 references
{ Title = "0 References"
Command = ""
Expand Down

0 comments on commit 4c042a7

Please sign in to comment.