mirror of
https://github.com/kristoferssolo/SoloVim.git
synced 2025-10-21 20:10:41 +00:00
12 lines
300 B
Lua
12 lines
300 B
Lua
return {
|
|
"ThePrimeagen/git-worktree.nvim",
|
|
config = function()
|
|
local worktree = require("git-worktree")
|
|
worktree.on_tree_change(function(op, metadata)
|
|
if op == worktree.Operations.Switch then
|
|
print("Switched from " .. metadata.prev_path .. " to " .. metadata.path)
|
|
end
|
|
end)
|
|
end,
|
|
}
|