feat: add ini as a toml file extension

ini files are not technically toml files, but they are close enough to
highlight nicely.
This commit is contained in:
CJ van den Berg 2024-08-01 18:10:36 +02:00
parent 3619572ed8
commit 945a58d712

View file

@ -310,7 +310,7 @@ pub const @"ssh-config" = .{
}; };
pub const toml = .{ pub const toml = .{
.extensions = .{"toml"}, .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"),