feat: add cmake support

This commit is contained in:
CJ van den Berg 2024-11-26 10:08:37 +01:00
parent 40e4f73571
commit 78f312e1e5
3 changed files with 15 additions and 2 deletions

View file

@ -38,6 +38,17 @@ pub const conf = .{
.parser = fish.parser,
};
pub const cmake = .{
.color = 0x004078,
.icon = "",
.extensions = .{ "CMakeLists.txt", "cmake", "cmake.in" },
.comment = "#",
.highlights = "queries/cmake/highlights.scm",
.injections = "queries/cmake/injections.scm",
.formatter = .{"cmake-format"},
.language_server = .{"cmake-language-server"},
};
pub const cpp = .{
.color = 0x9c033a,
.icon = "",