refactor: restructure the whole plugin following a better separation of concers

This commit is contained in:
NicolasGB
2025-11-23 16:34:42 +01:00
committed by Nicolas GB
parent f6982a7716
commit e545d02ceb
11 changed files with 1237 additions and 1175 deletions
+2 -1
View File
@@ -1,4 +1,5 @@
local utils = require("jj.utils")
local runner = require("jj.core.runner")
--- @class jj.picker.snacks
local M = {}
@@ -142,7 +143,7 @@ function M.file_log_history(opts, log_lines)
return
end
local _, ok = utils.execute_command(
local _, ok = runner.execute_command(
string.format("jj edit %s --ignore-immutable", item.rev),
string.format("could not edit revision '%s'", item.rev)
)