Add a replay feature to zls (#857)

* add config options for `zls --replay`

* implement `zls --replay`

* remove carriage return from zls replay files

* add missing arguments for Server.init in tests
This commit is contained in:
Techatrix
2022-12-31 06:45:45 +00:00
committed by GitHub
parent 417bf9bd0a
commit 3449269fd3
9 changed files with 250 additions and 92 deletions

View File

@@ -40,7 +40,7 @@ pub const Context = struct {
config.* = default_config;
var server = try Server.init(allocator, config, null);
var server = try Server.init(allocator, config, null, false, false);
errdefer server.deinit();
var context: Context = .{