[vim/vim] runtime(jjdescription): improve status line highlighting and add support for renames (PR #19879)

0 views
Skip to first unread message

Joël Stemmer

unread,
Mar 31, 2026, 11:38:51 PM (21 hours ago) Mar 31
to vim/vim, Subscribed

The regex for highlighting jj status lines was a bit too broad, frequently highlighting lines that weren't actually status lines in my commit descriptions. I've made the regex a bit more strict to prevent this.

I also added support for highlighting renamed files (these lines look like R {old.txt => new.txt}).


You can view, comment on, or merge this pull request online at:

  https://github.com/vim/vim/pull/19879

Commit Summary

  • 33903f7 runtime(jjdescription): Anchor status matches to start of line
  • ac8375f runtime(jjdescription): Add highlighting for 'Renamed' status lines

File Changes

(1 file)

Patch Links:


Reply to this email directly, view it on GitHub.
You are receiving this because you are subscribed to this thread.Message ID: <vim/vim/pull/19879@github.com>

Reply all
Reply to author
Forward
0 new messages