Sorry @NTBBloodbath, realized the behaviour was not quite right. When count is nil we were returning an empty string which caused the diagnostic component to be shown like this:
By explicitly returning nil we make sure the sections are hidden when there are no diagnostic results
Let me know if the change breaks the LSP client implementation 😅
Sorry @NTBBloodbath, realized the behaviour was not quite right. When
count
is nil we were returning an empty string which caused the diagnostic component to be shown like this:By explicitly returning
nil
we make sure the sections are hidden when there are no diagnostic resultsLet me know if the change breaks the LSP client implementation 😅