feat(status,highlights): Handle renamed files in restore and picker flows

- Improve status-line parsing to support top-level and nested rename 
        syntaxes, so actions no longer include trailing braces in paths.
    - Update the Snacks status picker integration to pass structured 
        rename/status metadata and use git_status formatting, preserving 
        icons/highlighting while showing rename pairs correctly.
    - Also tighten renamed-line highlighting in the editor buffer for consistent jjRenamed behavior.
This commit is contained in:
NicolasGB
2026-05-19 18:05:17 +02:00
parent 5558c22471
commit 71f640be45
4 changed files with 75 additions and 78 deletions
+1
View File
@@ -28,6 +28,7 @@ function M.status(opts, files)
source = "jj",
items = files,
title = "JJ Status",
format = "git_status",
actions = {
open_and_diff = function(picker, item)
picker:close()