nvim-lua / lsp-status.nvim

Utility functions for getting diagnostic status and progress messages from LSP servers, for use in the Neovim statusline
MIT License
621 stars 41 forks source link

Fix #47: Only return a diagnostics component if there are actual diagnostics #51

Closed wbthomason closed 3 years ago

wbthomason commented 3 years ago

Per discussion on #47. @dhruvmanila, could you please give this PR a try and see if it does what you wanted?