Vim icon indicating copy to clipboard operation
Vim copied to clipboard

Global (uppercase) marks not restored in gutter after file closed/reopened

Open basepi opened this issue 3 years ago • 0 comments

Describe the bug If I set an uppercase (global) mark on a line in a file, the gutter mark shows up fine. If I then close and re-open the file, navigating to the mark works, but the mark doesn't show up in the gutter.

To Reproduce Steps to reproduce the behavior:

  1. Set an uppercase mark in a file (with mA for example)
  2. Close the file
  3. Navigate to the mark (with 'A for example)
  4. The file opens, but the mark is not visible in the gutter.

Expected behavior When the file is opened, the extension should check for any global marks in the file and restore the marks in the gutter.

Screenshots

https://user-images.githubusercontent.com/702318/191122970-2b2043d5-ccce-4cc9-9aae-d767a914917f.mov

Environment (please complete the following information):

  • Extension (VsCodeVim) version: 1.23.2
  • VSCode version: 1.71.2
  • OS: macOS 12.6

basepi avatar Sep 19 '22 21:09 basepi