diff options
Diffstat (limited to 'src/Config.zig')
| -rw-r--r-- | src/Config.zig | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/Config.zig b/src/Config.zig index 071c31b..2e6c388 100644 --- a/src/Config.zig +++ b/src/Config.zig | |||
| @@ -1,6 +1,6 @@ | |||
| 1 | // TODO: Change this to proper TOML in the future :) | 1 | // TODO: Change this to proper TOML in the future :) |
| 2 | 2 | ||
| 3 | const conf = @import("es-config"); | 3 | const es = @import("root"); |
| 4 | const std = @import("std"); | 4 | const std = @import("std"); |
| 5 | 5 | ||
| 6 | const Allocator = std.mem.Allocator; | 6 | const Allocator = std.mem.Allocator; |
| @@ -9,10 +9,10 @@ const Config = @This(); | |||
| 9 | 9 | ||
| 10 | const config_path = "arkta/es/es.ini"; | 10 | const config_path = "arkta/es/es.ini"; |
| 11 | 11 | ||
| 12 | hard_tabs: bool = conf.default_hard_tabs, | 12 | hard_tabs: bool = es.conf.default_hard_tabs, |
| 13 | line_limit: usize = conf.default_line_limit, | 13 | line_limit: usize = es.conf.default_line_limit, |
| 14 | page_overlap: usize = conf.default_page_overlap, | 14 | page_overlap: usize = es.conf.default_page_overlap, |
| 15 | tab_stop: usize = conf.default_tab_stop, | 15 | tab_stop: usize = es.conf.default_tab_stop, |
| 16 | 16 | ||
| 17 | pub fn readConfig(allocator: Allocator) !Config { | 17 | pub fn readConfig(allocator: Allocator) !Config { |
| 18 | var config = Config{}; | 18 | var config = Config{}; |