feat: add common lisp file type (with scheme parser for now)

Also, move emacs lisp file extension from scheme.
This commit is contained in:
CJ van den Berg 2025-09-11 09:41:10 +02:00
parent ba7fc81622
commit 1a2a76c900
Signed by: neurocyte
GPG key ID: 8EB1E1BB660E3FB9

View file

@ -240,6 +240,16 @@ pub const kdl = .{
.comment = "//",
};
pub const commonlisp = .{
.description = "Lisp",
.color = 0xFFFFFF,
.icon = "",
.extensions = .{"lisp", "ls", "el"},
.comment = ";",
.highlights = "tree-sitter-scheme/queries/highlights.scm",
.parser = scheme.parser,
};
pub const lua = .{
.description = "Lua",
.color = 0x02027d,
@ -441,8 +451,9 @@ pub const rust = .{
pub const scheme = .{
.description = "Scheme",
.extensions = .{ "scm", "ss", "el" },
.extensions = .{ "scm", "ss" },
.comment = ";",
.parser = @import("file_type.zig").Parser("scheme"),
};
pub const sql = .{