diff --git a/internal/lsp/server.go b/internal/lsp/server.go index 1e968587..4edac704 100644 --- a/internal/lsp/server.go +++ b/internal/lsp/server.go @@ -1736,7 +1736,7 @@ func (l *LanguageServer) handleTextDocumentCodeLens( for _, lens := range lenses { if lens.Command.Command != "regal.debug" { - lenses = append(lenses, lens) + filteredLenses = append(filteredLenses, lens) } }