Skip to content

Commit fb2d6c2

Browse files
feat: add cuda (#389)
* added cuda icon * generate light colors --------- Co-authored-by: Alexander Courtis <alex@courtis.org>
1 parent 271a389 commit fb2d6c2

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
@@ -66,6 +66,7 @@ local filetypes = {
6666
["cson"] = "cson",
6767
["css"] = "css",
6868
["csv"] = "csv",
69+
["cuda"] = "cu",
6970
["d"] = "d",
7071
["dart"] = "dart",
7172
["desktop"] = "desktop",

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

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -632,6 +632,18 @@ local icons_by_file_extension = {
632632
cterm_color = "74",
633633
name = "Cts",
634634
},
635+
["cu"] = {
636+
icon = "",
637+
color = "#89e051",
638+
cterm_color = "113",
639+
name = "cuda",
640+
},
641+
["cuh"] = {
642+
icon = "",
643+
color = "#a074c4",
644+
cterm_color = "140",
645+
name = "cudah",
646+
},
635647
["cxx"] = {
636648
icon = "",
637649
color = "#519aba",

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

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -632,6 +632,18 @@ local icons_by_file_extension = {
632632
cterm_color = "24",
633633
name = "Cts",
634634
},
635+
["cu"] = {
636+
icon = "",
637+
color = "#447028",
638+
cterm_color = "22",
639+
name = "cuda",
640+
},
641+
["cuh"] = {
642+
icon = "",
643+
color = "#6b4d83",
644+
cterm_color = "96",
645+
name = "cudah",
646+
},
635647
["cxx"] = {
636648
icon = "",
637649
color = "#36677c",

0 commit comments

Comments
 (0)