nvimdev / nvimdev/lspsaga.nvim

Add icons for each diagnostic in summary

Open
#1,416 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
Dominant language
Lua
Stars
3.8k
Forks
308
PR merge metrics
No merged PRs in 30d

Description

When we summarize the diagnostic using :lspsaga show_workspace_diagnostics, the diagnostics are listed line by line; the only difference between them is the color, which is not friendly for color-blind users.

In this case, it would be much more convenient to add a diagnostic icon showing the severity of them for difference, i.e.,: a bug icon in front of the error diagnostic

image

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by locating the implementation of :Lspsaga show_workspace_diagnostics and its diagnostic summary rendering. Review how severity is currently distinguished, then add distinct icons for each diagnostic severity and verify that the summary remains understandable without relying on color.

Written by the indexing model from the issue text.

Assessment

Tech stack
lua
Domain
accessibility, devtools
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.