Update nerd fonts to 3.0

After https://github.com/ryanoasis/nerd-fonts/releases/tag/v3.0.0
certain icons were deprecated.
This commit is contained in:
Andrii Stadnik
2023-05-24 09:19:33 +03:00
parent 512791925d
commit df6387d330

View File

@@ -38,24 +38,24 @@ M.defaults = {
lsp_blacklist = {}, lsp_blacklist = {},
symbol_blacklist = {}, symbol_blacklist = {},
symbols = { symbols = {
File = { icon = '', hl = '@text.uri' }, File = { icon = '󰈔', hl = '@text.uri' },
Module = { icon = '', hl = '@namespace' }, Module = { icon = '󰆧', hl = '@namespace' },
Namespace = { icon = '', hl = '@namespace' }, Namespace = { icon = '󰅪', hl = '@namespace' },
Package = { icon = '', hl = '@namespace' }, Package = { icon = '󰏗', hl = '@namespace' },
Class = { icon = '𝓒', hl = '@type' }, Class = { icon = '𝓒', hl = '@type' },
Method = { icon = 'ƒ', hl = '@method' }, Method = { icon = 'ƒ', hl = '@method' },
Property = { icon = '', hl = '@method' }, Property = { icon = '', hl = '@method' },
Field = { icon = '', hl = '@field' }, Field = { icon = '󰆨', hl = '@field' },
Constructor = { icon = '', hl = '@constructor' }, Constructor = { icon = '', hl = '@constructor' },
Enum = { icon = '', hl = '@type' }, Enum = { icon = '', hl = '@type' },
Interface = { icon = '', hl = '@type' }, Interface = { icon = '󰜰', hl = '@type' },
Function = { icon = '', hl = '@function' }, Function = { icon = '', hl = '@function' },
Variable = { icon = '', hl = '@constant' }, Variable = { icon = '', hl = '@constant' },
Constant = { icon = '', hl = '@constant' }, Constant = { icon = '', hl = '@constant' },
String = { icon = '𝓐', hl = '@string' }, String = { icon = '𝓐', hl = '@string' },
Number = { icon = '#', hl = '@number' }, Number = { icon = '#', hl = '@number' },
Boolean = { icon = '', hl = '@boolean' }, Boolean = { icon = '', hl = '@boolean' },
Array = { icon = '', hl = '@constant' }, Array = { icon = '󰅪', hl = '@constant' },
Object = { icon = '⦿', hl = '@type' }, Object = { icon = '⦿', hl = '@type' },
Key = { icon = '🔐', hl = '@type' }, Key = { icon = '🔐', hl = '@type' },
Null = { icon = 'NULL', hl = '@type' }, Null = { icon = 'NULL', hl = '@type' },
@@ -64,8 +64,8 @@ M.defaults = {
Event = { icon = '🗲', hl = '@type' }, Event = { icon = '🗲', hl = '@type' },
Operator = { icon = '+', hl = '@operator' }, Operator = { icon = '+', hl = '@operator' },
TypeParameter = { icon = '𝙏', hl = '@parameter' }, TypeParameter = { icon = '𝙏', hl = '@parameter' },
Component = { icon = '', hl = '@function' }, Component = { icon = '󰅴', hl = '@function' },
Fragment = { icon = '', hl = '@constant' }, Fragment = { icon = '󰅴', hl = '@constant' },
}, },
} }