How to change specific icons? (perhaps by icon name?) #508
Unanswered
Oneechan69
asked this question in
Q&A
Replies: 1 comment 4 replies
-
You can override existing icons and add your own, see setup Use e.g. require("nvim-web-devicons").setup({
-- override *.xml extension
override_by_extension = {
["xml"] = {
icon = "",
color = "#00afff",
cterm_color = "39",
name = "Xml",
},
},
-- override .gitignore name
override_by_filename = {
[".gitignore"] = {
icon = "",
color = "#20c2e3",
cterm_color = "45",
name = "Gitignore"
}
},
-- create new extensions
override = {
["foo"] = {
icon = "",
color = "#428850",
cterm_color = "65",
name = "Foo"
}
},
}) |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I want to replace (a 1 inside a circle), you can search
nf-md-numeric_1_circle_outline
on nerdfonts.com to see it. I would replace it with an Apple SF Symbol instance 1.circle:I can paste its text character into a buffer inside Neovide and it shows without any extra steps or setup.
Beta Was this translation helpful? Give feedback.
All reactions