Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add recipe for adding buffer diagnostics to the tabline with Heirline #95

Open
krishnakumarg1984 opened this issue Jul 11, 2023 · 1 comment
Labels
enhancement New feature or request good first issue Good for newcomers help wanted Extra attention is needed

Comments

@krishnakumarg1984
Copy link

krishnakumarg1984 commented Jul 11, 2023

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 krishnakumarg1984 added the enhancement New feature or request label Jul 11, 2023
@krishnakumarg1984 krishnakumarg1984 changed the title Provide buffer diagnostics (indicator icons in each buffer tab & a separate overall diagnostics count in custom area to the top right of the tabline) Provide buffer diagnostics from attached LSPs (indicator icons in each buffer tab & a separate overall diagnostics count in custom area to the top right of the tabline) Jul 11, 2023
@mehalter
Copy link
Member

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 mehalter transferred this issue from AstroNvim/AstroNvim Jul 11, 2023
@mehalter mehalter added good first issue Good for newcomers help wanted Extra attention is needed labels Jul 11, 2023
@mehalter mehalter changed the title Provide buffer diagnostics from attached LSPs (indicator icons in each buffer tab & a separate overall diagnostics count in custom area to the top right of the tabline) Add recipe for adding buffer diagnostics to the tabline with Heirline Jul 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants