feat: add common lisp file type (with scheme parser for now)
Also, move emacs lisp file extension from scheme.
This commit is contained in:
parent
ba7fc81622
commit
1a2a76c900
1 changed files with 12 additions and 1 deletions
|
@ -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 = .{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue