Skip to content

Fix for obsolete nerdfont icons#2016

Closed
hansemschnokeloch wants to merge 1 commit intonix-community:mainfrom
hansemschnokeloch:patch-1
Closed

Fix for obsolete nerdfont icons#2016
hansemschnokeloch wants to merge 1 commit intonix-community:mainfrom
hansemschnokeloch:patch-1

Conversation

@hansemschnokeloch
Copy link
Copy Markdown
Contributor

These two icons are removed from nerdfont.
See https://www.nerdfonts.com/cheat-sheet and search for clock_fast and message_reply_text

TODO = { icon = " "; color = "info"; };
HACK = { icon = " "; color = "warning"; };
WARN = { icon = " "; color = "warning"; alt = [ "WARNING" "XXX" ]; };
PERF = { icon = " "; alt = [ "OPTIM" "PERFORMANCE" "OPTIMIZE" ]; };
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

This looks like the defaults section for the plugin, the defaults I see in their config uses a different icon:
PERF = { icon = " ", alt = { "OPTIM", "PERFORMANCE", "OPTIMIZE" } },

HACK = { icon = " "; color = "warning"; };
WARN = { icon = " "; color = "warning"; alt = [ "WARNING" "XXX" ]; };
PERF = { icon = " "; alt = [ "OPTIM" "PERFORMANCE" "OPTIMIZE" ]; };
NOTE = { icon = " "; color = "hint"; alt = [ "INFO" ]; };
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Same as other, looks like a different default icon:
NOTE = { icon = " ", color = "hint", alt = { "INFO" } },

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

That's a good point, I obviously got confused with my own local config.
I updated the PR

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

They should still be nix attributes. I was just posting the lua from the plugin.

These two icons are removed from nerdfont.
See https://www.nerdfonts.com/cheat-sheet
@khaneliman
Copy link
Copy Markdown
Contributor

Appreciate your PR, but will be superseded by #2030 migration PR.

@khaneliman khaneliman closed this Aug 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants