Skip to content

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

Open

Description

@krishnakumarg1984

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).

Activity

  1. 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)[/+] on Jul 11, 2023
  2. mehalter commented on Jul 11, 2023

    @mehalter
    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!

  3. 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[/+] on Jul 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions