Listen to all LSP progress notifications and broadcast them to peers

This commit is contained in:
Antonio Scandurra 2022-03-10 12:00:33 +01:00
parent 3394cf4941
commit 4bbf5ed0b9
4 changed files with 207 additions and 136 deletions

View file

@ -146,8 +146,6 @@ messages!(
(BufferReloaded, Foreground),
(BufferSaved, Foreground),
(ChannelMessageSent, Foreground),
(DiskBasedDiagnosticsUpdated, Background),
(DiskBasedDiagnosticsUpdating, Background),
(Error, Foreground),
(FormatBuffers, Foreground),
(FormatBuffersResponse, Foreground),
@ -175,6 +173,7 @@ messages!(
(JoinProjectResponse, Foreground),
(LeaveChannel, Foreground),
(LeaveProject, Foreground),
(LspEvent, Background),
(OpenBuffer, Background),
(OpenBufferForSymbol, Background),
(OpenBufferForSymbolResponse, Background),
@ -246,8 +245,6 @@ entity_messages!(
ApplyCompletionAdditionalEdits,
BufferReloaded,
BufferSaved,
DiskBasedDiagnosticsUpdated,
DiskBasedDiagnosticsUpdating,
FormatBuffers,
GetCodeActions,
GetCompletions,
@ -257,6 +254,7 @@ entity_messages!(
GetProjectSymbols,
JoinProject,
LeaveProject,
LspEvent,
OpenBuffer,
OpenBufferForSymbol,
PerformRename,