mirror of
https://github.com/nix-community/nixvim.git
synced 2025-06-28 03:20:08 +02:00
plugins/undotree: add tests
This commit is contained in:
parent
750ec713dd
commit
47044a551b
1 changed files with 33 additions and 0 deletions
33
tests/test-sources/plugins/utils/undotree.nix
Normal file
33
tests/test-sources/plugins/utils/undotree.nix
Normal file
|
@ -0,0 +1,33 @@
|
|||
{
|
||||
empty = {
|
||||
plugins.undotree.enable = true;
|
||||
};
|
||||
|
||||
example = {
|
||||
plugins.undotree = {
|
||||
enable = true;
|
||||
|
||||
settings = {
|
||||
WindowLayout = 4;
|
||||
ShortIndicators = false;
|
||||
DiffpanelHeight = 10;
|
||||
DiffAutoOpen = true;
|
||||
SetFocusWhenToggle = true;
|
||||
SplitWidth = 40;
|
||||
TreeNodeShape = "*";
|
||||
TreeVertShape = "|";
|
||||
TreeSplitShape = "/";
|
||||
TreeReturnShape = "\\";
|
||||
DiffCommand = "diff";
|
||||
RelativeTimestamp = true;
|
||||
HighlightChangedText = true;
|
||||
HighlightChangedWithSign = true;
|
||||
HighlightSyntaxAdd = "DiffAdd";
|
||||
HighlightSyntaxChange = "DiffChange";
|
||||
HighlightSyntaxDel = "DiffDelete";
|
||||
HelpLine = true;
|
||||
CursorLine = true;
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue