docs icon indicating copy to clipboard operation
docs copied to clipboard

Add recipe for adding buffer diagnostics to the `tabline` with Heirline

Open krishnakumarg1984 opened this issue 2 years ago • 1 comments

Is your feature related to a problem?

The bufferline provided ways to configure a UX wherein:

  • The diagnostics of each open buffer would be indicated in that buffer's tabline entry
  • The overall count of each category of diagnostics (errors, warnings and hints) in all open buffers in the workspace can be displayed in a custom area to the far top right corner of the tabline

Describe the new feature

Provide the aforesaid configuration options in AstroNvim (if not in baseline, at least as a custom recipe in the documentation).

krishnakumarg1984 avatar Jul 11 '23 16:07 krishnakumarg1984

This is a relatively similar response as I gave to AstroNvim/AstroNvim#2112 so I'll keep it small. This is not in the scope of what we want to provide out of the box and is implementable through our Status API. There are many users on the Discord that actually do this successfully so that's a good resource for asking questions and seeing what others have done.

I do like the idea of this being a recipe in the documentation and could even be added as a feature in AstroCommunity to be easily added (similar to other recipes such as the VS Code winbar and the mode text in the statusline). So I will just migrate this issue over to the documentation and add a "help wanted" as I don't when I will have the time I will have to implement this for you and write documentation for it. Thanks for the suggestion!

mehalter avatar Jul 11 '23 16:07 mehalter