We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fbbe734 commit 4733765Copy full SHA for 4733765
plugin/diagnostics.py
@@ -189,7 +189,10 @@ def update_diagnostics_in_status_bar(view: sublime.View):
189
if diagnostic.severity == DiagnosticSeverity.Warning:
190
warnings += 1
191
192
- count = 'E: {} W: {}'.format(errors, warnings)
+ if errors > 0 or warnings > 0:
193
+ count = 'E: {} W: {}'.format(errors, warnings)
194
+ else:
195
+ count = ""
196
view.set_status('lsp_errors_warning_count', count)
197
198
0 commit comments