Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings
Discussion options

      ["angular.json"] = {
        icon = "",
        color = "#f38ba8",
        name = "AngularJson",
      }

Above is my custom config for overrides. I want to be able to get the name of the current icon name which is AngularJson in this case. How to do this ?

You must be logged in to vote

Replies: 1 comment

Comment options

Not quite sure it's what you're looking for, but you can use get_icons to retrieve everything.

If you want just one you could call get_icon and extract the name from the highlight group e.g. DevIconAngularJson

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
🙏
Q&A
Labels
None yet
2 participants
Morty Proxy This is a proxified and sanitized view of the page, visit original site.