Skip to content

Commit b3d9169

Browse files
committed
Do not block on clangd notification
1 parent 5ee9731 commit b3d9169

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ls/lsp_client_clangd.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -141,5 +141,5 @@ func (client *ClangdLSPClient) TelemetryEvent(jsonrpc.FunctionLogger, json.RawMe
141141
}
142142

143143
func (client *ClangdLSPClient) TextDocumentPublishDiagnostics(logger jsonrpc.FunctionLogger, params *lsp.PublishDiagnosticsParams) {
144-
client.ls.PublishDiagnosticsNotifFromClangd(logger, params)
144+
go client.ls.PublishDiagnosticsNotifFromClangd(logger, params)
145145
}

0 commit comments

Comments
 (0)