Skip to content

fix(#2516): diagnostics icon highlight group matches the documentation: NvimTreeLspDiagnosticsInfo -> Information #2518

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

Merged
merged 3 commits into from
Nov 19, 2023

Conversation

alex-courtis
Copy link
Member

@alex-courtis alex-courtis commented Nov 6, 2023

fixes #2516

Proper overhaul incoming: #2415

…n: NvimTreeLspDiagnosticsInfo -> Information
@alex-courtis
Copy link
Member Author

Tested OK #2516 (comment)

@@ -72,7 +72,7 @@ function M.setup(opts)
}
M.ICON[vim.diagnostic.severity.INFO] = {
str = M.config.diagnostics.icons.info,
hl = { "NvimTreeLspDiagnosticsInfo" },
hl = { "NvimTreeLspDiagnosticsInformation" },
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's a minor gripe, but I would do it the other way around, replacing the others *Information with *Info, since the level is info it would be more intuitive

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Agreed. Info is the consistent option.

I'm just putting this quick fix in for now. I've updated them all to Info in the long running feature branch: https://github.com/nvim-tree/nvim-tree.lua/pull/2455/files#diff-b5b2d1abcb86ead5a2319f7e065a7545b834a407cc9f420590d7acebb285fca9R2283

@alex-courtis alex-courtis merged commit 46e1f77 into master Nov 19, 2023
@alex-courtis alex-courtis deleted the 2516-DiagnosticsInfo-correction branch November 19, 2023 04:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants