VSCodeVim / Vim

:star: Vim for Visual Studio Code
http://aka.ms/vscodevim
MIT License
13.83k stars 1.31k forks source link

Relative line numbers don't work properly with sticky scroll #8478

Open flexagoon opened 1 year ago

flexagoon commented 1 year ago

Describe the bug When "sticky scroll" is enabled in VSCode, the relative line number in the sticky line is not always correct

To Reproduce Steps to reproduce the behavior:

  1. Enable relative or smart line numbers in VSCodeVim
  2. Enable sticky scroll in vscode settings
  3. Open any file where the sticky scroll header appears
  4. Press j a couple times
  5. The relative line number in the sticky header remains the same

Expected behavior As you scroll down, the relative line number in the sticky line changes

Environment (please complete the following information):

daolanfler commented 10 months ago

seems to be vsocde's problem https://github.com/microsoft/vscode/issues/195711