bug: buffer sync sporadic failure

Author: OldStarchyCreated Feb 23, 2026Updated Jun 26, 2026
Labelscategory: sync

Check the following:

  • I have tried setting vscode-neovim.neovimClean in VSCode settings and restarting VSCode.
  • I have read the vscode-neovim docs.
  • I have searched existing (closed!) issues.

Neovim version (nvim -v)

NVIM v0.12.0-dev-1459+g0791594101

VSCode version and flavor (Cursor, vscodium, …)

VSCode Version: 1.109.5 (user setup)

Operating system/version

Windows 11

Problem (including log messages)

Buffer sync for a file starts failing at unpredictable times.

  • All neovim driven operations (dd, p etc.) are not synced back to vscode
  • Changes in vscode (insert mode) are not synced back to neovim
  • Restarting neovim Neovim: Restart Extension does not resolve the issue
  • Only happens in one editor
  • Closing the editor and reopening it resolves it.

Evidence that neovim is out of sync is as follows

  • Once you notice its out of sync (eg. dd doesn't delete a line)
  • ggVGd to remove all lines
  • vscode has all content, but cannot move cursor past L0:0 in normal mode
  • you can p into the buffer and it doesn't show in vscode
  • ggVGy and p into a different editor window puts the content of the out-of-sync buffer into the other editor

Steps To Reproduce

I have not yet been able to identify what triggers the desync, but it happens frequently.

Expected Behavior

No desync.

Source: vscode-neovim/vscode-neovim