mirror of
https://github.com/nix-community/nixvim.git
synced 2025-11-16 15:32:48 +01:00
31 lines
786 B
Nix
31 lines
786 B
Nix
{ lib, ... }:
|
|
with lib;
|
|
lib.nixvim.plugins.mkVimPlugin {
|
|
name = "undotree";
|
|
globalPrefix = "undotree_";
|
|
description = "The undo history visualizer for Vim.";
|
|
|
|
maintainers = [ maintainers.GaetanLepage ];
|
|
|
|
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;
|
|
};
|
|
}
|