Update current line diagnostic even it is None.
@@ -260,9 +260,7 @@ def show_diagnostics(uri: str, diagnostics: List) -> None:
def show_line_diagnostic(uri: str, line: int, columns: int) -> None:
- entry = state.get(uri, {}).get("line_diagnostics", {}).get(line)
- if entry is None:
- return
+ entry = state.get(uri, {}).get("line_diagnostics", {}).get(line, "")
echo_ellipsis(entry, columns)
