We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dd5f623 commit 5574214Copy full SHA for 5574214
src/clangd-context.ts
@@ -182,6 +182,12 @@ export class ClangdContext implements vscode.Disposable {
182
return symbol;
183
})
184
},
185
+ didSave: async (document, next) => {
186
+ if (this.pendingTextChange && this.pendingTextChange.matches(document)) {
187
+ await this.flushPendingTextChanges();
188
+ await next(document);
189
+ }
190
+ },
191
didChange: async (event, next) => {
192
if (this.pendingTextChange) {
193
this.textChangeDelayer.cancel();
0 commit comments