macvim-dev / macvim-dev/macvim

3match highlight is reset when text is redrawn

Open
#535 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Vim Script
Stars
7.9k
Forks
691
PR merge metrics
No merged PRs in 30d

Description

:3match /pattern/
works only when the command just issued. After that, any screen repaint will reset (or disable) all highlights by this command

:version
VIM - Vi IMproved 8.0 (2016 Sep 12, compiled Jun 22 2017 03:02:45)
MacOS X (unix) version
Included patches: 1-648
Compiled by travis@Traviss-Mac-712.local

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the issue in MacVim by running :3match <expr> /pattern/, then trigger a screen repaint and compare the highlight state. Trace the redraw path responsible for resetting or disabling the match highlight; done when the highlight remains active after repaint.

Written by the indexing model from the issue text.

Assessment

Tech stack
vim
Domain
desktop
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.