nvchad
This commit is contained in:
@ -29,30 +29,6 @@ return {
|
|||||||
{ "christoomey/vim-tmux-navigator", lazy = false },
|
{ "christoomey/vim-tmux-navigator", lazy = false },
|
||||||
{ "jose-elias-alvarez/null-ls.nvim" },
|
{ "jose-elias-alvarez/null-ls.nvim" },
|
||||||
{ "sainnhe/everforest", lazy = false },
|
{ "sainnhe/everforest", lazy = false },
|
||||||
{
|
|
||||||
"JohnCosta27/git-worktree.nvim",
|
|
||||||
config = function()
|
|
||||||
local Worktree = require "git-worktree"
|
|
||||||
|
|
||||||
-- op = Operations.Switch, Operations.Create, Operations.Delete
|
|
||||||
-- metadata = table of useful values (structure dependent on op)
|
|
||||||
-- Switch
|
|
||||||
-- path = path you switched to
|
|
||||||
-- prev_path = previous worktree path
|
|
||||||
-- Create
|
|
||||||
-- path = path where worktree created
|
|
||||||
-- branch = branch name
|
|
||||||
-- upstream = upstream remote name
|
|
||||||
-- Delete
|
|
||||||
-- path = path where worktree deleted
|
|
||||||
|
|
||||||
Worktree.on_tree_change(function(op, metadata)
|
|
||||||
if op ~= Worktree.Operations.Delete then
|
|
||||||
-- os.execute()
|
|
||||||
end
|
|
||||||
end)
|
|
||||||
end,
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"NvChad/nvterm",
|
"NvChad/nvterm",
|
||||||
config = function()
|
config = function()
|
||||||
|
Reference in New Issue
Block a user