Draft local and remote prettier separation

This commit is contained in:
Kirill Bulatov
2023-10-11 12:56:29 +03:00
parent 6c1c7eaf75
commit faf1d38a6d
7 changed files with 332 additions and 140 deletions
+10 -2
View File
@@ -273,6 +273,10 @@ messages!(
(UpdateChannelBufferCollaborators, Foreground),
(AckBufferOperation, Background),
(AckChannelMessage, Background),
(PrettierInstanceForBuffer, Background),
(InvokePrettierForBuffer, Background),
(PrettierInstanceForBufferResponse, Background),
(InvokePrettierForBufferResponse, Background),
);
request_messages!(
@@ -349,7 +353,9 @@ request_messages!(
(UpdateProject, Ack),
(UpdateWorktree, Ack),
(JoinChannelBuffer, JoinChannelBufferResponse),
(LeaveChannelBuffer, Ack)
(LeaveChannelBuffer, Ack),
(PrettierInstanceForBuffer, PrettierInstanceForBufferResponse),
(InvokePrettierForBuffer, InvokePrettierForBufferResponse),
);
entity_messages!(
@@ -400,7 +406,9 @@ entity_messages!(
UpdateProjectCollaborator,
UpdateWorktree,
UpdateWorktreeSettings,
UpdateDiffBase
UpdateDiffBase,
PrettierInstanceForBuffer,
InvokePrettierForBuffer,
);
entity_messages!(