feat: some minor file type guessing additions

This commit is contained in:
CJ van den Berg 2024-02-21 13:41:00 +01:00
parent 8a3890b003
commit 7c9faa07c1

View file

@ -8,7 +8,7 @@ pub const bash = .{
.icon = "󱆃",
.extensions = &[_][]const u8{ "sh", "bash" },
.comment = "#",
.first_line_matches = .{ .prefix = "#!", .content = "/bin/bash" },
.first_line_matches = .{ .prefix = "#!", .content = "bash" },
};
pub const c = .{
@ -49,7 +49,7 @@ pub const css = .{
};
pub const diff = .{
.extensions = &[_][]const u8{"diff"},
.extensions = &[_][]const u8{ "diff", "patch" },
.comment = "#",
};
@ -232,7 +232,7 @@ pub const rust = .{
};
pub const scheme = .{
.extensions = &[_][]const u8{ "scm", "ss" },
.extensions = &[_][]const u8{ "scm", "ss", "el" },
.comment = ";",
};