nix-community.nixvim/plugins/by-name/undotree/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

105 lines
2 KiB
Nix
Raw Normal View History

{
lib,
helpers,
...
}:
2024-01-08 14:42:01 +01:00
with lib;
2024-12-22 09:58:27 +00:00
with lib.nixvim.plugins;
mkVimPlugin {
2024-01-08 14:42:01 +01:00
name = "undotree";
globalPrefix = "undotree_";
maintainers = [ maintainers.GaetanLepage ];
2024-01-08 14:42:01 +01:00
# TODO introduced 2024-02-22: remove 2024-04-22
deprecateExtraConfig = true;
optionsRenamedToSettings = [
{
old = "windowLayout";
new = "WindowLayout";
}
{
old = "shortIndicators";
new = "ShortIndicators";
}
{
old = "windowWidth";
new = "WindowWidth";
}
{
old = "diffHeight";
new = "DiffHeight";
}
{
old = "autoOpenDiff";
new = "AutoOpenDiff";
}
{
old = "focusOnToggle";
new = "FocusOnToggle";
}
{
old = "treeNodeShape";
new = "TreeNodeShape";
}
{
old = "diffCommand";
new = "DiffCommand";
}
{
old = "relativeTimestamp";
new = "RelativeTimestamp";
}
{
old = "highlightChangedText";
new = "HighlightChangedText";
}
{
old = "highlightChangesWithSign";
new = "HighlightChangesWithSign";
}
{
old = "highlightSyntaxAdd";
new = "HighlightSyntaxAdd";
}
{
old = "highlightSyntaxChange";
new = "HighlightSyntaxChange";
}
{
old = "highlightSyntaxDel";
new = "HighlightSyntaxDel";
}
{
old = "showHelpLine";
new = "ShowHelpLine";
}
{
old = "showCursorLine";
new = "ShowCursorLine";
}
];
settingsExample = {
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;
2021-02-10 15:09:31 +00:00
};
2024-01-08 14:42:01 +01:00
}