feat: server: show "processing..." message
This commit is contained in:
parent
cc9a18b69c
commit
8e3052fe8d
1 changed files with 6 additions and 1 deletions
|
|
@ -131,7 +131,12 @@ section ServerM
|
|||
the interrupt. Explicitly clearing diagnostics is difficult for a similar reason,
|
||||
because we cannot guarantee that no further diagnostics are emitted after clearing
|
||||
them. -/
|
||||
sendDiagnostics snap.msgLog
|
||||
sendDiagnostics <| snap.msgLog.add {
|
||||
fileName := "<ignored>"
|
||||
pos := m.text.toPosition snap.endPos
|
||||
severity := MessageSeverity.information
|
||||
data := "processing..."
|
||||
}
|
||||
snap
|
||||
| Sum.inr msgLog =>
|
||||
sendDiagnostics msgLog
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue