tangled
alpha
login
or
join now
rockorager.dev
/
lsr
60
fork
atom
ls but with io_uring
60
fork
atom
overview
issues
9
pulls
1
pipelines
icons: add rs, more javascript filetypes
rockorager.dev
10 months ago
09e1ec33
11e212d2
verified
This commit was signed with the committer's
known signature
.
rockorager.dev
SSH Key Fingerprint:
SHA256:qn/Fjy7CpbcogGEPB14Y53hLnQleZNFY9lkQnuudFLs=
+6
1 changed file
expand all
collapse all
unified
split
src
main.zig
+6
src/main.zig
···
898
898
const lua: Icon = .{ .icon = "", .color = Options.Colors.blue };
899
899
const markdown: Icon = .{ .icon = "", .color = "" };
900
900
const python: Icon = .{ .icon = "", .color = Options.Colors.yellow };
901
901
+
const rust: Icon = .{ .icon = "", .color = "" };
901
902
const typescript: Icon = .{ .icon = "", .color = Options.Colors.blue };
902
903
const zig: Icon = .{ .icon = "", .color = "\x1b[38:2:247:164:29m" };
903
904
904
905
const by_name: std.StaticStringMap(Icon) = .initComptime(.{});
905
906
906
907
const by_extension: std.StaticStringMap(Icon) = .initComptime(.{
908
908
+
.{ "cjs", Icon.javascript },
907
909
.{ "css", Icon.css },
908
910
.{ "gif", Icon.image },
909
911
.{ "go", Icon.go },
···
911
913
.{ "jpeg", Icon.image },
912
914
.{ "jpg", Icon.image },
913
915
.{ "js", Icon.javascript },
916
916
+
.{ "jsx", Icon.javascript },
914
917
.{ "json", Icon.json },
915
918
.{ "lua", Icon.lua },
916
919
.{ "md", Icon.markdown },
920
920
+
.{ "mjs", Icon.javascript },
917
921
.{ "mkv", Icon.video },
918
922
.{ "mp4", Icon.video },
919
923
.{ "png", Icon.image },
920
924
.{ "py", Icon.python },
925
925
+
.{ "rs", Icon.rust },
921
926
.{ "ts", Icon.typescript },
927
927
+
.{ "tsx", Icon.typescript },
922
928
.{ "webp", Icon.image },
923
929
.{ "zig", Icon.zig },
924
930
.{ "zon", Icon.zig },