Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cursor resets position to beginning of the line when navigating over the fold #194

Closed
Rizhiy opened this issue Jan 13, 2024 · 0 comments
Closed
Labels
bug Something isn't working

Comments

@Rizhiy
Copy link

Rizhiy commented Jan 13, 2024

Neovim version (nvim -v | head -n1)

NVIM v0.9.4

Operating system/version

Ubuntu 22.04

How to reproduce the issue

  1. Install ufo
  2. Fold a piece of code
  3. Move cursor to middle of line above the fold
  4. Move cursor down through folded code

Expected behavior

The cursor column should stay at whatever it was above the fold.

Actual behavior

Cursor column resets to 0 when navigating over the fold and stays there even when we leave the fold.

@Rizhiy Rizhiy added the bug Something isn't working label Jan 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants