Skip to content

Conversation

@AidanV
Copy link
Contributor

@AidanV AidanV commented Dec 13, 2025

Closes #43963

This issue was caused by the global marks not being deleted. Previously marking the first file m A

Screenshot From 2025-12-13 01-37-55

followed by marking the second file m A

Screenshot From 2025-12-13 01-37-42

and navigating back to the first file

Screenshot From 2025-12-13 01-37-30

shows that the mark still exists and was not properly deleted. After these changes the global mark in the original file is correctly overwritten.

Added regression test for this.

Release Notes:

  • Fixed bug where overwriting global Vim marks was inconsistent
@cla-bot cla-bot bot added the cla-signed The user has signed the Contributor License Agreement label Dec 13, 2025
@github-actions github-actions bot added the community champion Issues filed by our amazing community champions! 🫶 label Dec 13, 2025
@github-project-automation github-project-automation bot moved this to Community Champion PRs in Quality Week – December 2025 Dec 13, 2025
@ConradIrwin
Copy link
Member

Thanks for the fix @AidanV!

@ConradIrwin ConradIrwin merged commit e106374 into zed-industries:main Dec 15, 2025
24 checks passed
@github-project-automation github-project-automation bot moved this from Community Champion PRs to Done in Quality Week – December 2025 Dec 15, 2025
CherryWorm pushed a commit to CherryWorm/zed that referenced this pull request Dec 16, 2025
Closes zed-industries#43963

This issue was caused by the global marks not being deleted. Previously
marking the first file `m A`

<img width="1736" height="888" alt="Screenshot From 2025-12-13 01-37-55"
src="https://github.com/user-attachments/assets/9e46747f-7bb3-4297-82d4-44a20ef9e91a"
/>

followed by marking the second file `m A`

<img width="1736" height="888" alt="Screenshot From 2025-12-13 01-37-42"
src="https://github.com/user-attachments/assets/0d126b47-2c42-475f-826a-173c0d5a1156"
/>

and navigating back to the first file

<img width="1736" height="888" alt="Screenshot From 2025-12-13 01-37-30"
src="https://github.com/user-attachments/assets/032fd0bd-ff71-4a12-987a-7f1743016f6d"
/>

shows that the mark still exists and was not properly deleted. After
these changes the global mark in the original file is correctly
overwritten.

Added regression test for this.

Release Notes:

- Fixed bug where overwriting global Vim marks was inconsistent
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cla-signed The user has signed the Contributor License Agreement community champion Issues filed by our amazing community champions! 🫶

3 participants