Skip to content

Commit 2ba0d40

Browse files
committed
feat: add .env, dockerfile and .eslintrc prefix icons
1 parent 0a0e987 commit 2ba0d40

File tree

2 files changed

+36
-0
lines changed

2 files changed

+36
-0
lines changed

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

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -362,6 +362,24 @@ local icons_by_filename = {
362362
}
363363

364364
local icons_by_file_prefix = {
365+
[".env"] = {
366+
icon = "",
367+
color = "#faf743",
368+
cterm_color = "227",
369+
name = "Env",
370+
},
371+
["dockerfile"] = {
372+
icon = "󰡨",
373+
color = "#458ee6",
374+
cterm_color = "68",
375+
name = "Dockerfile",
376+
},
377+
[".eslintrc"] = {
378+
icon = "",
379+
color = "#4b32c3",
380+
cterm_color = "56",
381+
name = "Eslintrc",
382+
},
365383
}
366384

367385
local icons_by_file_extension = {

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

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -362,6 +362,24 @@ local icons_by_filename = {
362362
}
363363

364364
local icons_by_file_prefix = {
365+
[".env"] = {
366+
icon = "",
367+
color = "#32310d",
368+
cterm_color = "236",
369+
name = "Env",
370+
},
371+
["dockerfile"] = {
372+
icon = "󰡨",
373+
color = "#2e5f99",
374+
cterm_color = "25",
375+
name = "Dockerfile",
376+
},
377+
[".eslintrc"] = {
378+
icon = "",
379+
color = "#4b32c3",
380+
cterm_color = "56",
381+
name = "Eslintrc",
382+
},
365383
}
366384

367385
local icons_by_file_extension = {

0 commit comments

Comments
 (0)