From 47044a551b23e333ab325da72e6d66bd906409c0 Mon Sep 17 00:00:00 2001 From: Gaetan Lepage Date: Wed, 14 Feb 2024 10:35:58 +0100 Subject: [PATCH] plugins/undotree: add tests --- tests/test-sources/plugins/utils/undotree.nix | 33 +++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 tests/test-sources/plugins/utils/undotree.nix diff --git a/tests/test-sources/plugins/utils/undotree.nix b/tests/test-sources/plugins/utils/undotree.nix new file mode 100644 index 00000000..87d8e68b --- /dev/null +++ b/tests/test-sources/plugins/utils/undotree.nix @@ -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; + }; + }; + }; +}