refactor: move LSP types to new module

This commit is contained in:
CJ van den Berg 2025-12-12 12:16:05 +01:00
parent e5894c1404
commit 308f46c8a2
Signed by: neurocyte
GPG key ID: 8EB1E1BB660E3FB9
5 changed files with 136 additions and 162 deletions

View file

@ -418,6 +418,10 @@ pub fn build_exe(
.root_source_file = b.path("src/snippet.zig"),
});
const lsp_types_mod = b.createModule(.{
.root_source_file = b.path("src/lsp_types.zig"),
});
const Buffer_mod = b.createModule(.{
.root_source_file = b.path("src/buffer/Buffer.zig"),
.imports = &.{
@ -635,6 +639,7 @@ pub fn build_exe(
.{ .name = "VcsStatus", .module = VcsStatus_mod },
.{ .name = "bin_path", .module = bin_path_mod },
.{ .name = "snippet", .module = snippet_mod },
.{ .name = "lsp_types", .module = lsp_types_mod },
},
});