Skip to content

Commit

Permalink
fix: update to Nerd Fonts 3 code points (#264)
Browse files Browse the repository at this point in the history
* fix!: update to Nerd Fonts 3 icons

* Fixed remaining nerdfont icons for v3

---------

Co-authored-by: Vladimír Dudr <[email protected]>
Co-authored-by: Tom Payne <[email protected]>
  • Loading branch information
3 people authored May 7, 2023
1 parent b34362b commit 5cd275c
Show file tree
Hide file tree
Showing 3 changed files with 75 additions and 70 deletions.
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
# Notice
Nerd fonts moved some symbols with version 3.0. Version 2.3 is meant for transition, supporting both version 2 and version 3 icons.

Nvim-web-devicons requires version 2.3 or above to work properly. If you are unable to update please use your plugin manager to pin version of nvim-web-dev icons to `nerd-v2-compat` tag.

# Nvim-web-devicons

A `lua` fork of [vim-devicons](https://github.com/ryanoasis/vim-devicons). This plugin provides the same icons _as well as_ colors for each icon.
Expand Down
70 changes: 35 additions & 35 deletions lua/nvim-web-devicons-light.lua
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
local icons_by_filename = {
[".babelrc"] = {
icon = "",
icon = "",
color = "#666620",
cterm_color = "58",
name = "Babelrc",
Expand Down Expand Up @@ -174,7 +174,7 @@ local icons_by_filename = {
name = "License",
},
["r"] = {
icon = "",
icon = "󰟔",
color = "#286844",
cterm_color = "29",
name = "R",
Expand Down Expand Up @@ -262,7 +262,7 @@ local icons_by_filename = {
name = "Gulpfile",
},
["webpack"] = {
icon = "",
icon = "󰜫",
color = "#36677c",
cterm_color = "24",
name = "Webpack",
Expand Down Expand Up @@ -439,7 +439,7 @@ local icons_by_file_extension = {
name = "Crystal",
},
["cs"] = {
icon = "",
icon = "󰌛",
color = "#434d04",
cterm_color = "58",
name = "Cs",
Expand All @@ -463,7 +463,7 @@ local icons_by_file_extension = {
name = "Css",
},
["csv"] = {
icon = "",
icon = "󰈙",
color = "#447028",
cterm_color = "22",
name = "Csv",
Expand Down Expand Up @@ -505,13 +505,13 @@ local icons_by_file_extension = {
name = "Diff",
},
["doc"] = {
icon = "",
icon = "󰈬",
color = "#185abd",
cterm_color = "26",
name = "Doc",
},
["docx"] = {
icon = "",
icon = "󰈬",
color = "#185abd",
cterm_color = "26",
name = "Docx",
Expand Down Expand Up @@ -822,7 +822,7 @@ local icons_by_file_extension = {
name = "Json",
},
["json5"] = {
icon = "",
icon = "",
color = "#666620",
cterm_color = "58",
name = "Json5",
Expand Down Expand Up @@ -924,7 +924,7 @@ local icons_by_file_extension = {
name = "Markdown",
},
["material"] = {
icon = "",
icon = "󰔉",
color = "#8a2b72",
cterm_color = "89",
name = "Material",
Expand All @@ -942,7 +942,7 @@ local icons_by_file_extension = {
name = "Mdx",
},
["mint"] = {
icon = "",
icon = "󰌪",
color = "#44604a",
cterm_color = "23",
name = "Mint",
Expand Down Expand Up @@ -990,7 +990,7 @@ local icons_by_file_extension = {
name = "Nix",
},
["opus"] = {
icon = "",
icon = "󰈣",
color = "#a55c01",
cterm_color = "130",
name = "OPUS",
Expand All @@ -1014,7 +1014,7 @@ local icons_by_file_extension = {
name = "PackedResource",
},
["pdf"] = {
icon = "",
icon = "",
color = "#b30b00",
cterm_color = "124",
name = "Pdf",
Expand Down Expand Up @@ -1049,7 +1049,7 @@ local icons_by_file_extension = {
name = "Pp",
},
["ppt"] = {
icon = "",
icon = "󰈧",
color = "#983826",
cterm_color = "94",
name = "Ppt",
Expand Down Expand Up @@ -1121,7 +1121,7 @@ local icons_by_file_extension = {
name = "Query",
},
["r"] = {
icon = "",
icon = "󰟔",
color = "#286844",
cterm_color = "29",
name = "R",
Expand Down Expand Up @@ -1163,7 +1163,7 @@ local icons_by_file_extension = {
name = "Rmd",
},
["rproj"] = {
icon = "",
icon = "󰗆",
color = "#286844",
cterm_color = "29",
name = "Rproj",
Expand Down Expand Up @@ -1199,7 +1199,7 @@ local icons_by_file_extension = {
name = "Scala",
},
["scm"] = {
icon = "",
icon = "󰘧",
color = "#000000",
cterm_color = "16",
name = "Scheme",
Expand Down Expand Up @@ -1277,7 +1277,7 @@ local icons_by_file_extension = {
name = "Suo",
},
["sv"] = {
icon = "",
icon = "󰍛",
color = "#017226",
cterm_color = "22",
name = "SystemVerilog",
Expand All @@ -1289,13 +1289,13 @@ local icons_by_file_extension = {
name = "Svelte",
},
["svh"] = {
icon = "",
icon = "󰍛",
color = "#017226",
cterm_color = "22",
name = "SystemVerilog",
},
["svg"] = {
icon = "",
icon = "󰜡",
color = "#80581e",
cterm_color = "94",
name = "Svg",
Expand All @@ -1313,13 +1313,13 @@ local icons_by_file_extension = {
name = "Tor",
},
["tbc"] = {
icon = "",
icon = "󰛓",
color = "#1e5cb3",
cterm_color = "25",
name = "Tcl",
},
["tcl"] = {
icon = "",
icon = "󰛓",
color = "#1e5cb3",
cterm_color = "25",
name = "Tcl",
Expand All @@ -1331,7 +1331,7 @@ local icons_by_file_extension = {
name = "Terminal",
},
["tex"] = {
icon = "",
icon = "󰙩",
color = "#3D6117",
cterm_color = "22",
name = "Tex",
Expand Down Expand Up @@ -1379,7 +1379,7 @@ local icons_by_file_extension = {
name = "SpecTs",
},
["tscn"] = {
icon = "",
icon = "󰎁",
color = "#6b4d83",
cterm_color = "96",
name = "TextScene",
Expand Down Expand Up @@ -1409,13 +1409,13 @@ local icons_by_file_extension = {
name = "Twig",
},
["txt"] = {
icon = "",
icon = "󰈙",
color = "#447028",
cterm_color = "22",
name = "Txt",
},
["v"] = {
icon = "",
icon = "󰍛",
color = "#017226",
cterm_color = "22",
name = "Verilog",
Expand All @@ -1427,19 +1427,19 @@ local icons_by_file_extension = {
name = "Vala",
},
["vh"] = {
icon = "",
icon = "󰍛",
color = "#017226",
cterm_color = "22",
name = "Verilog",
},
["vhd"] = {
icon = "",
icon = "󰍛",
color = "#017226",
cterm_color = "22",
name = "VHDL",
},
["vhdl"] = {
icon = "",
icon = "󰍛",
color = "#017226",
cterm_color = "22",
name = "VHDL",
Expand Down Expand Up @@ -1469,7 +1469,7 @@ local icons_by_file_extension = {
name = "Webp",
},
["webpack"] = {
icon = "",
icon = "󰜫",
color = "#36677c",
cterm_color = "24",
name = "Webpack",
Expand All @@ -1481,19 +1481,19 @@ local icons_by_file_extension = {
name = "XcPlayground",
},
["xls"] = {
icon = "",
icon = "󰈛",
color = "#207245",
cterm_color = "29",
name = "Xls",
},
["xlsx"] = {
icon = "",
icon = "󰈛",
color = "#207245",
cterm_color = "29",
name = "Xlsx",
},
["xml"] = {
icon = "謹",
icon = "󰗀",
color = "#975122",
cterm_color = "130",
name = "Xml",
Expand Down Expand Up @@ -1529,13 +1529,13 @@ local icons_by_file_extension = {
name = "Zsh",
},
["sol"] = {
icon = "",
icon = "󰞻",
color = "#36677c",
cterm_color = "24",
name = "Solidity",
},
["prisma"] = {
icon = "",
icon = "󰔶",
color = "#333333",
cterm_color = "236",
name = "Prisma",
Expand All @@ -1547,7 +1547,7 @@ local icons_by_file_extension = {
name = "Lock",
},
["log"] = {
icon = "",
icon = "󰌱",
color = "#333333",
cterm_color = "236",
name = "Log",
Expand Down
Loading

0 comments on commit 5cd275c

Please sign in to comment.