diff --git a/R/diagnostics.R b/R/diagnostics.R index 7a3a3864..d283cf70 100644 --- a/R/diagnostics.R +++ b/R/diagnostics.R @@ -115,7 +115,11 @@ diagnose_file <- function(uri, content, cache = FALSE) { diagnostics_callback <- function(self, uri, version, diagnostics) { if (is.null(diagnostics) || !self$workspace$documents$has(uri)) return(NULL) - logger$info("diagnostics_callback called:", list(uri = uri, version = version)) + logger$info("diagnostics_callback called:", list( + uri = uri, + version = version, + diagnostics = diagnostics + )) self$deliver( Notification$new( method = "textDocument/publishDiagnostics",