diff --git a/home/common/core/nixvim/plugins/git-workree.nix b/home/common/core/nixvim/plugins/git-workree.nix index 53cc72e..b0085d1 100644 --- a/home/common/core/nixvim/plugins/git-workree.nix +++ b/home/common/core/nixvim/plugins/git-workree.nix @@ -1,4 +1,3 @@ -{pkgs, ...}: { programs.nixvim.keymaps = [ # Switching worktrees @@ -15,30 +14,13 @@ options = {noremap = true;}; } ]; - - programs.nixvim.extraPlugins = [ - - (pkgs.vimUtils.buildVimPlugin - { - name = "git-worktree.nvim"; - src = pkgs.fetchFromGitHub { - owner = "glow.nvim"; - repo = "git-worktree.nvim"; - rev = "bac72c2"; - sha256 = ""; - }; - }) - ]; - - programs.nixvim.extraConfigLua = '' - ''; - # programs.nixvim.plugins.git-worktree = { - # enable = true; - # enableTelescope = true; - # autopush = true; - # changeDirectoryCommand = "cd"; - # clearJumpsOnChange = true; - # updateOnChange = true; - # updateOnChangeCommand = "e ."; - # }; + programs.nixvim.plugins.git-worktree = { + enable = true; + enableTelescope = true; + autopush = true; + changeDirectoryCommand = "cd"; + clearJumpsOnChange = true; + updateOnChange = true; + updateOnChangeCommand = "e ."; + }; }