refactor: re-format file_types.zig

This commit is contained in:
CJ van den Berg 2024-08-06 21:38:13 +02:00
parent eed1347bd2
commit d28973b054

View file

@ -119,7 +119,7 @@ pub const haskell = .{
.icon = "󰲒", .icon = "󰲒",
.extensions = .{"hs"}, .extensions = .{"hs"},
.comment = "--", .comment = "--",
.language_server = .{"haskell-language-server-wrapper", "lsp"}, .language_server = .{ "haskell-language-server-wrapper", "lsp" },
}; };
pub const html = .{ pub const html = .{
@ -322,7 +322,7 @@ pub const @"ssh-config" = .{
}; };
pub const toml = .{ pub const toml = .{
.extensions = .{"toml","ini"}, .extensions = .{ "toml", "ini" },
.comment = "#", .comment = "#",
.highlights = "tree-sitter-toml/queries/highlights.scm", .highlights = "tree-sitter-toml/queries/highlights.scm",
.parser = @import("file_type.zig").Parser("toml"), .parser = @import("file_type.zig").Parser("toml"),
@ -347,7 +347,7 @@ pub const xml = .{
pub const yaml = .{ pub const yaml = .{
.color = 0x000000, .color = 0x000000,
.icon = "", .icon = "",
.extensions = .{"yaml", "yml"}, .extensions = .{ "yaml", "yml" },
.comment = "#", .comment = "#",
}; };