Open GreenSleeper opened 1 year ago
I think it should be nerd font.
I wonder too I use hack-nerd-font and jetbrains-mono-nerd-font , v3.02, it's still not rendered
alright, i got it. some nerd-font v2 icons are obsolete in nerd-font v3. we can wait an upgrade for that.
see https://github.com/simrat39/symbols-outline.nvim/pull/225
Until the situation is resolved with the nerd fonts, here is how I configured my icons:
symbols = {
File = { icon = "", hl = "@text.uri" },
Module = { icon = "", hl = "@namespace" },
Namespace = { icon = "", hl = "@namespace" },
Package = { icon = "", hl = "@namespace" },
Class = { icon = "", hl = "@type" },
Method = { icon = "ƒ", hl = "@method" },
Property = { icon = "", hl = "@method" },
Field = { icon = "", hl = "@field" },
Constructor = { icon = "", hl = "@constructor" },
Enum = { icon = "", hl = "@type" },
Interface = { icon = "", hl = "@type" },
Function = { icon = "", hl = "@function" },
Variable = { icon = "", hl = "@constant" },
Constant = { icon = "", hl = "@constant" },
String = { icon = "", hl = "@string" },
Number = { icon = "#", hl = "@number" },
Boolean = { icon = "", hl = "@boolean" },
Array = { icon = "", hl = "@constant" },
Object = { icon = "", hl = "@type" },
Key = { icon = "", hl = "@type" },
Null = { icon = "", hl = "@type" },
EnumMember = { icon = "", hl = "@field" },
Struct = { icon = "", hl = "@type" },
Event = { icon = "", hl = "@type" },
Operator = { icon = "", hl = "@operator" },
TypeParameter = { icon = "", hl = "@parameter" },
Component = { icon = "", hl = "@function" },
Fragment = { icon = "", hl = "@constant" },
}
I've tried several nerd fonts with wezterm, and some of the icons aren't rendered. I'm on windows sshing to linux server btw.