refactor: read lsp config from a separate file in the config directory
This commit is contained in:
parent
9e0077985e
commit
8890ec7497
4 changed files with 86 additions and 3 deletions
|
|
@ -378,6 +378,13 @@ pub fn build_exe(
|
|||
},
|
||||
});
|
||||
|
||||
const lsp_config_mod = b.createModule(.{
|
||||
.root_source_file = b.path("src/lsp_config.zig"),
|
||||
.imports = &.{
|
||||
.{ .name = "soft_root", .module = soft_root_mod },
|
||||
},
|
||||
});
|
||||
|
||||
const log_mod = b.createModule(.{
|
||||
.root_source_file = b.path("src/log.zig"),
|
||||
.imports = &.{
|
||||
|
|
@ -579,6 +586,7 @@ pub fn build_exe(
|
|||
.{ .name = "Buffer", .module = Buffer_mod },
|
||||
.{ .name = "tracy", .module = tracy_mod },
|
||||
.{ .name = "file_type_config", .module = file_type_config_mod },
|
||||
.{ .name = "lsp_config", .module = lsp_config_mod },
|
||||
.{ .name = "dizzy", .module = dizzy_dep.module("dizzy") },
|
||||
.{ .name = "fuzzig", .module = fuzzig_dep.module("fuzzig") },
|
||||
.{ .name = "git", .module = git_mod },
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue