feat: make the language server request timeout a configurable option
This commit is contained in:
parent
2ae89a14fd
commit
fa23096f85
3 changed files with 5 additions and 2 deletions
|
@ -92,6 +92,7 @@ fn init(allocator: Allocator) !*Self {
|
|||
if (frame_rate != 0)
|
||||
conf.frame_rate = frame_rate;
|
||||
tp.env.get().num_set("frame-rate", @intCast(conf.frame_rate));
|
||||
tp.env.get().num_set("lsp-request-timeout", @intCast(conf.lsp_request_timeout));
|
||||
const frame_time = std.time.us_per_s / conf.frame_rate;
|
||||
const frame_clock = try tp.metronome.init(frame_time);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue