question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Inputting too quickly after exiting insert mode causes desync

See original GitHub issue

Exiting insert mode and attempting to navigate too quickly causes the neovim and vscode buffers to de-synchronize. I happen to have the escape key bound to my home row, so I’ve been able to consistently trigger this bug.

Demonstration: https://giant.gfycat.com/WaryFamousBoto.webm

I started experiencing this bug a couple days ago, not sure of the exact date, unfortunately. I can confirm this issue is reproducing with all neovim plugins disabled. I am using plugin version v0.0.52

This is my current neovim version string (nightly from 1 day ago, issues predate any recent upgrade):

NVIM v0.5.0-635-g8c49e3d50
Build type: RelWithDebInfo
LuaJIT 2.0.5
Compilation: /usr/bin/cc -D_FORTIFY_SOURCE=2 -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -fno-plt -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 -O2 -g -Og -g -Wall -Wextra -pedantic -Wno-unused-parameter -Wstrict-prototypes -std=gnu99 -Wshadow -Wconversion -Wmissing-prototypes -Wimplicit-fallthrough -Wvla -fstack-protector-strong -fno-common -fdiagnostics-color=always -DINCLUDE_GENERATED_DECLARATIONS -D_GNU_SOURCE -DNVIM_MSGPACK_HAS_FLOAT32 -DNVIM_UNIBI_HAS_VAR_FROM -DMIN_LOG_LEVEL=3 -I/home/chao/.cache/yay/neovim-nightly-git/src/build/config -I/home/chao/.cache/yay/neovim-nightly-git/src/neovim-nightly-git/src -I/usr/include -I/home/chao/.cache/yay/neovim-nightly-git/src/build/src/nvim/auto -I/home/chao/.cache/yay/neovim-nightly-git/src/build/include
Compiled by chao@manjaro-desktop

This is my VSCode version string:

Version: 1.47.3
Commit: 91899dcef7b8110878ea59626991a18c8a6a1b3e
Date: 2020-07-30T16:19:47.070Z
Electron: 7.1.14
Chrome: 78.0.3904.130
Node.js: 12.8.1
V8: 7.8.279.23-electron.0
OS: Linux x64 5.7.9-1-MANJARO

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:17 (10 by maintainers)

github_iconTop GitHub Comments

2reactions
asvetliakovcommented, Aug 28, 2020

@scalavision Try 0.0.53 build above

2reactions
chaoracecommented, Aug 26, 2020

Seems to be working for me so far, I can no longer reproduce using the given PR. I’ll continue to use it and will report back if I encounter any new issues that seem to be coming from the new changes.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Inputting too quickly after exiting insert mode causes desync
Exiting insert mode and attempting to navigate too quickly causes the neovim and vscode buffers to de-synchronize.
Read more >
Delayed esc from insert mode caused by cursor-shape ...
If 'ttimeoutlen' has a high enough setting, there's a noticeable delay when leaving Insert mode, because you type Escape and Vim waits to...
Read more >
How to prevent <Esc> from waiting for more input in Insert Mode
The verbose part instructs Vim to print where the mapping was set. That should help find out what's causing the problem. Also, the...
Read more >
Set up SQL Data Sync - Azure SQL Database - Microsoft Learn
This tutorial shows you how to set up SQL Data Sync for Azure. ... If you choose Use existing database, select the database...
Read more >
SYNC™ Troubleshooting
Cell phone issues. Issue, Possible cause, Possible solution. A lot of background noise during a phone call. The audio control settings on your...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found