From d7b118391fa246a0f91f80120545e87498bb2746 Mon Sep 17 00:00:00 2001 From: Ridwan Faiz Date: Fri, 2 Feb 2024 12:02:58 +0600 Subject: [PATCH] feat: added ipython notebook icon --- lua/nvim-web-devicons.lua | 1 + lua/nvim-web-devicons/icons-default.lua | 6 ++++++ lua/nvim-web-devicons/icons-light.lua | 6 ++++++ 3 files changed, 13 insertions(+) diff --git a/lua/nvim-web-devicons.lua b/lua/nvim-web-devicons.lua index 9160fc1f..b74830ff 100644 --- a/lua/nvim-web-devicons.lua +++ b/lua/nvim-web-devicons.lua @@ -120,6 +120,7 @@ local filetypes = { ["idlang"] = "pro", ["ino"] = "ino", ["import"] = "import", + ["ipynb"] = "ipynb", ["java"] = "java", ["javascript"] = "js", ["javascript.jsx"] = "jsx", diff --git a/lua/nvim-web-devicons/icons-default.lua b/lua/nvim-web-devicons/icons-default.lua index d00b0671..7d84dd20 100644 --- a/lua/nvim-web-devicons/icons-default.lua +++ b/lua/nvim-web-devicons/icons-default.lua @@ -1040,6 +1040,12 @@ local icons_by_file_extension = { cterm_color = "73", name = "arduino", }, + ["ipynb"] = { + icon = "", + color = "#51a0cf", + cterm_color = "74", + name = "Notebook", + }, ["java"] = { icon = "", color = "#cc3e44", diff --git a/lua/nvim-web-devicons/icons-light.lua b/lua/nvim-web-devicons/icons-light.lua index ff791f48..ff8af523 100644 --- a/lua/nvim-web-devicons/icons-light.lua +++ b/lua/nvim-web-devicons/icons-light.lua @@ -1040,6 +1040,12 @@ local icons_by_file_extension = { cterm_color = "30", name = "arduino", }, + ["ipynb"] = { + icon = "", + color = "#366b8a", + cterm_color = "24", + name = "Notebook", + }, ["java"] = { icon = "", color = "#992e33",