feat: add command to edit file type configuration files

This commit is contained in:
CJ van den Berg 2025-07-03 16:28:55 +02:00
parent 8281f65011
commit 2897d8d745
Signed by: neurocyte
GPG key ID: 8EB1E1BB660E3FB9
5 changed files with 219 additions and 120 deletions

View file

@ -317,6 +317,13 @@ pub fn build_exe(
},
});
const file_type_config_mod = b.createModule(.{
.root_source_file = b.path("src/file_type_config.zig"),
.imports = &.{
.{ .name = "syntax", .module = syntax_mod },
},
});
const log_mod = b.createModule(.{
.root_source_file = b.path("src/log.zig"),
.imports = &.{
@ -531,6 +538,7 @@ pub fn build_exe(
.{ .name = "cbor", .module = cbor_mod },
.{ .name = "config", .module = config_mod },
.{ .name = "gui_config", .module = gui_config_mod },
.{ .name = "file_type_config", .module = file_type_config_mod },
.{ .name = "log", .module = log_mod },
.{ .name = "command", .module = command_mod },
.{ .name = "EventHandler", .module = EventHandler_mod },