aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArtemisX64 <101918084+ArtemisX64@users.noreply.github.com>2022-08-03 23:38:01 +0530
committerGitHub <noreply@github.com>2022-08-03 23:38:01 +0530
commite544926c9b4ec3bcd7d5b8958fe81f5af67b06c7 (patch)
tree7e05517f96198e035be7878d698d3bdf6d32cdee
parenta45126f3d7941c4f6e1e42a26c37d250ccb843b8 (diff)
downloadlite-xl-plugins-e544926c9b4ec3bcd7d5b8958fe81f5af67b06c7.tar.gz
lite-xl-plugins-e544926c9b4ec3bcd7d5b8958fe81f5af67b06c7.zip
Update nonicons.lua
Add Zig support to nonicons
-rw-r--r--plugins/nonicons.lua3
1 files changed, 2 insertions, 1 deletions
diff --git a/plugins/nonicons.lua b/plugins/nonicons.lua
index a093fd9..9a1e963 100644
--- a/plugins/nonicons.lua
+++ b/plugins/nonicons.lua
@@ -44,6 +44,7 @@ local extension_icons = {
-- Following without special icon:
[".awk"] = { "#4d5a5e", "" },
[".nim"] = { "#F88A02", "" },
+ [".zig"] = { "#cbcb41", "" },
}
local known_names_icons = {
@@ -56,6 +57,7 @@ local known_names_icons = {
["readme.md"] = { "#72b886", "" }, ["readme"] = { "#72b886", "" },
["init.lua"] = { "#2d6496", "" },
["setup.py"] = { "#559dd9", "" },
+ ["build.zig"] = { "#6d8086", "" },
}
-- Preparing colors
@@ -129,4 +131,3 @@ function TreeView:draw()
core.root_view:defer_draw(self.draw_tooltip, self)
end
end
-