Skip to content

Commit e29bc12

Browse files
committed
feat: add icons for Assembly files (*.S and *.asm)
1 parent 15c7d0f commit e29bc12

File tree

3 files changed

+25
-0
lines changed

3 files changed

+25
-0
lines changed

lua/nvim-web-devicons.lua

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -104,6 +104,7 @@ end
104104
-- Map of filetypes -> icon names
105105
local filetypes = {
106106
["apl"] = "apl",
107+
["asm"] = "asm",
107108
["avif"] = "avif",
108109
["bash"] = "bash",
109110
["bib"] = "bib",

lua/nvim-web-devicons/icons-default.lua

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1178,6 +1178,12 @@ local icons_by_file_extension = {
11781178
cterm_color = "242",
11791179
name = "Asc",
11801180
},
1181+
["asm"] = {
1182+
icon = "",
1183+
color = "#0091BD",
1184+
cterm_color = "31",
1185+
name = "ASM",
1186+
},
11811187
["ass"] = {
11821188
icon = "󰨖",
11831189
color = "#ffb713",
@@ -3104,6 +3110,12 @@ local icons_by_file_extension = {
31043110
cterm_color = "215",
31053111
name = "Rss",
31063112
},
3113+
["s"] = {
3114+
icon = "",
3115+
color = "#0071C5",
3116+
cterm_color = "25",
3117+
name = "ASM",
3118+
},
31073119
["sass"] = {
31083120
icon = "",
31093121
color = "#f55385",

lua/nvim-web-devicons/icons-light.lua

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1178,6 +1178,12 @@ local icons_by_file_extension = {
11781178
cterm_color = "239",
11791179
name = "Asc",
11801180
},
1181+
["asm"] = {
1182+
icon = "",
1183+
color = "#006d8e",
1184+
cterm_color = "24",
1185+
name = "ASM",
1186+
},
11811187
["ass"] = {
11821188
icon = "󰨖",
11831189
color = "#805c0a",
@@ -3104,6 +3110,12 @@ local icons_by_file_extension = {
31043110
cterm_color = "94",
31053111
name = "Rss",
31063112
},
3113+
["s"] = {
3114+
icon = "",
3115+
color = "#005594",
3116+
cterm_color = "25",
3117+
name = "ASM",
3118+
},
31073119
["sass"] = {
31083120
icon = "",
31093121
color = "#a33759",

0 commit comments

Comments
 (0)