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.

shift+i and a are offset

See original GitHub issue

Hi everyone,

Love the project and I use it everyday !

I’ve got a problem that occured the first time at least two weeks ago (I’ve been on holidays so I don’t really know when was the update that broke everything).

Bugs

  • When using a in some lines the cursor moves forward
  • When using shift+i in some lines the cursor doesn’t go to the beginning of the line (first character that isn’t a white space, as before the bug occured)

I’ve made a screencap to illustrate:

https://user-images.githubusercontent.com/22097902/103771059-554d2d80-5027-11eb-9752-aefd0bd13f27.mov

Clues

I’ve not been able de to reproduce the bug accurately on every kind of line.

  • It happens everytime I’m on a JSdoc line (maybe something with comments is broken)
  • It doesn’t happen on a line inside a JSdoc block if it isn’t starting with a * (maybe JSdoc is handled with specific movements idk)
  • It sometimes happens in code, but I’ve not been able to reproduce it for the screencap as it is intermittent.

Details

  • I’m on macOS 10.15.7
  • I never see any error popping up
  • I’ve tried more than one version of vscode-neovim
    • 0.0.76
    • 0.0.73
    • 0.0.65
  • I’ve installed every version of neovim linked in issues of this repository having relation to shift+i, shift+a, a, and i.
    • neovim --HEAD (v0.4)
    • neovim nightly from tarball of the official repo
    • neovim nightly from jason0x43/homebrew-neovim-nightly
  • I’ve killed VSCode everytime
  • I’ve disabled every extension but vscode-neovim

Issue Analytics

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

github_iconTop GitHub Comments

1reaction
asvetliakovcommented, Jan 6, 2021

I then uninstalled the extension again and replaced it with the one from the store and it still works fine… Do you understand any of this ?

Yes, sometimes vscode caches local version and won’t replace it with new one from store if it has same version number

0reactions
lowgoscommented, Jan 6, 2021

I don’t really understand why but I’ve uninstalled the extension and installed your build. It works like a charm.

I then uninstalled the extension again and replaced it with the one from the store and it still works fine… Do you understand any of this ?

Thanks for your time. I’ll keep you posted in case the bug reappears but your investigation helped me mitigate the problem

Read more comments on GitHub >

github_iconTop Results From Across the Web

Shift vs Offset - What's the difference? | WikiDiff
is that shift is a type of women's undergarment, a slip while offset is anything that acts as counterbalance; a compensating equivalent.
Read more >
Shift a CRS by an observed offset - GIS Stack Exchange
I have a drone image is which is georeferenced over a Google Sat. image. These align well, and both use WGS84-Pseudo Mercator (EPSG:3857)....
Read more >
Understanding Lens Offset and Lens Shift - Projector Central
ProjectorCentral's M. David Stone explains what lens offset and lens shift are, and how to use our review comments to determine where you ......
Read more >
Shift the offset during eval (using sourcemap) - Stack Overflow
The problem is when I put a breakpoint or debugger inside the code, it stops two lines after the correct one because of...
Read more >
OFFSET - Google Docs Editors Help
Returns a range reference shifted a specified number of rows and columns from a starting cell reference. Sample Usage OFFSET(A2,3,4,2,2) OFFSET(A2,1,1) ...
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