fix: flush lsp log file after every message
This commit is contained in:
parent
d97a4c1108
commit
06b9d2384e
1 changed files with 1 additions and 0 deletions
|
@ -696,6 +696,7 @@ const Process = struct {
|
|||
if (!debug_lsp) return;
|
||||
const file_writer = if (self.log_file_writer) |*writer| writer else return;
|
||||
file_writer.interface.print(format, args) catch {};
|
||||
file_writer.interface.flush() catch {};
|
||||
}
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue