Skip to content

Commit

Permalink
feat: add cuda (#389)
Browse files Browse the repository at this point in the history
* added cuda icon

* generate light colors

---------

Co-authored-by: Alexander Courtis <alex@courtis.org>
  • Loading branch information
PranithKoppula7 and alex-courtis authored Jan 29, 2024
1 parent 271a389 commit fb2d6c2
Show file tree
Hide file tree
Showing 3 changed files with 25 additions and 0 deletions.
1 change: 1 addition & 0 deletions lua/nvim-web-devicons.lua
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,7 @@ local filetypes = {
["cson"] = "cson",
["css"] = "css",
["csv"] = "csv",
["cuda"] = "cu",
["d"] = "d",
["dart"] = "dart",
["desktop"] = "desktop",
Expand Down
12 changes: 12 additions & 0 deletions lua/nvim-web-devicons/icons-default.lua
Original file line number Diff line number Diff line change
Expand Up @@ -632,6 +632,18 @@ local icons_by_file_extension = {
cterm_color = "74",
name = "Cts",
},
["cu"] = {
icon = "",
color = "#89e051",
cterm_color = "113",
name = "cuda",
},
["cuh"] = {
icon = "",
color = "#a074c4",
cterm_color = "140",
name = "cudah",
},
["cxx"] = {
icon = "",
color = "#519aba",
Expand Down
12 changes: 12 additions & 0 deletions lua/nvim-web-devicons/icons-light.lua
Original file line number Diff line number Diff line change
Expand Up @@ -632,6 +632,18 @@ local icons_by_file_extension = {
cterm_color = "24",
name = "Cts",
},
["cu"] = {
icon = "",
color = "#447028",
cterm_color = "22",
name = "cuda",
},
["cuh"] = {
icon = "",
color = "#6b4d83",
cterm_color = "96",
name = "cudah",
},
["cxx"] = {
icon = "",
color = "#36677c",
Expand Down

0 comments on commit fb2d6c2

Please sign in to comment.