mirror of
https://github.com/nix-community/nixvim.git
synced 2025-06-21 08:35:43 +02:00
feat: add new plugin git-worktree (#678)
Co-authored-by: Haseeb Majid <haseeb.majid@imaginecurve.com>
This commit is contained in:
parent
2019968548
commit
b5414a3841
3 changed files with 112 additions and 0 deletions
29
tests/test-sources/plugins/git/git-worktree.nix
Normal file
29
tests/test-sources/plugins/git/git-worktree.nix
Normal file
|
@ -0,0 +1,29 @@
|
|||
{
|
||||
empty = {
|
||||
plugins.git-worktree.enable = true;
|
||||
};
|
||||
|
||||
telescopeEnabled = {
|
||||
plugins.telescope = {
|
||||
enable = true;
|
||||
};
|
||||
|
||||
plugins.git-worktree = {
|
||||
enable = true;
|
||||
|
||||
enableTelescope = true;
|
||||
changeDirectoryCommand = "tcd";
|
||||
updateOnChange = true;
|
||||
updateOnChangeCommand = "e .";
|
||||
clearJumpsOnChange = true;
|
||||
};
|
||||
};
|
||||
|
||||
telescopeDisabled = {
|
||||
plugins.git-worktree = {
|
||||
enable = true;
|
||||
|
||||
enableTelescope = false;
|
||||
};
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue