Save LSP format E2E mutation
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user