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 b0a699d commit 93b57d1Copy full SHA for 93b57d1
src/model/document.ts
@@ -294,6 +294,9 @@ export default class Document {
294
public async applyEdits(edits: TextEdit[], joinUndo = false, move: boolean | Position = false): Promise<TextEdit | undefined> {
295
if (Array.isArray(arguments[1])) edits = arguments[1]
296
if (!this._attached || edits.length === 0) return
297
+ if (isVim && this._applying) {
298
+ await this.synchronize()
299
+ }
300
const { bufnr } = this
301
this._forceSync()
302
let textDocument = this.textDocument
0 commit comments