aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorScott Bradnick <84082961+sbradnick@users.noreply.github.com>2023-08-11 16:07:12 -0400
committerGitHub <noreply@github.com>2023-08-11 22:07:12 +0200
commit2c61e6c014a8f30247a661ef0f5ea36f88cd5217 (patch)
treeecc67af117517a48ec9aedfdf8bacba6eeffdf31
parent4d801ec0715b7e7842e95cdc3b4ad09bc9088b6c (diff)
downloadlite-xl-plugins-2c61e6c014a8f30247a661ef0f5ea36f88cd5217.tar.gz
lite-xl-plugins-2c61e6c014a8f30247a661ef0f5ea36f88cd5217.zip
Update nonicons.lua (#278)
* Update nonicons.lua Adding 5 new nonicon "extension_icons" as suggested here: https://github.com/lite-xl/lite-xl-plugins/issues/144#issuecomment-1673625744 * Update manifest.json bumping the plugin version per request
-rw-r--r--manifest.json2
-rw-r--r--plugins/nonicons.lua7
2 files changed, 8 insertions, 1 deletions
diff --git a/manifest.json b/manifest.json
index ed858fe..70dedd6 100644
--- a/manifest.json
+++ b/manifest.json
@@ -1082,7 +1082,7 @@
},
{
"description": "File icons set for TreeView. Download [font](https://github.com/yamatsum/nonicons/raw/6a2faf4fbdfbe353c5ae6a496740ac4bfb6d0e74/dist/nonicons.ttf) to your config/fonts folder",
- "version": "0.1",
+ "version": "0.2",
"path": "plugins/nonicons.lua",
"id": "nonicons",
"mod_version": "3"
diff --git a/plugins/nonicons.lua b/plugins/nonicons.lua
index b8b01bc..b0f29d6 100644
--- a/plugins/nonicons.lua
+++ b/plugins/nonicons.lua
@@ -91,6 +91,13 @@ local extension_icons = {
[".awk"] = { "#4d5a5e", "" },
[".nim"] = { "#F88A02", "" },
[".zig"] = { "#cbcb41", "" },
+ -- START: Adding per https://github.com/lite-xl/lite-xl-plugins/issues/144
+ [".vim"] = { "#8f00ff", "" },
+ [".j2"] = { "#ffff00", "" },
+ [".ini"] = { "#ffffff", "" },
+ [".fish"] = { "#ca2c92", "" },
+ [".bash"] = { "#4169e1", "" },
+ -- END: Adding per https://github.com/lite-xl/lite-xl-plugins/issues/144
}
local known_names_icons = {
["changelog"] = { "#657175", "" }, ["changelog.txt"] = { "#4d5a5e", "" },