Save LSP format E2E mutation

This commit is contained in:
slhx agent
2026-06-21 19:34:17 +02:00
parent 38c487f7c3
commit a96b9e8142
2 changed files with 3 additions and 1 deletions
+2
View File
@@ -1434,7 +1434,9 @@ pub const Client = struct {
}
fn formatCurrentBuffer(self: *Client) !void {
const before = self.document_version;
try self.applyLanguageMutation(.format, null);
if (self.document_version != before) self.skip_next_save_format = true;
}
fn organizeImports(self: *Client) !void {