mirror of
https://github.com/nix-community/nixvim.git
synced 2025-06-22 08:53:28 +02:00
plugins/telescope/extensions/undo: deprecate option diff_context_lines
This commit is contained in:
parent
c029f1745e
commit
0d95fc6888
2 changed files with 7 additions and 5 deletions
|
@ -77,9 +77,11 @@ telescopeHelpers.mkExtension {
|
||||||
the side-by-side view even if this is set to false.
|
the side-by-side view even if this is set to false.
|
||||||
'';
|
'';
|
||||||
|
|
||||||
diff_context_lines = helpers.defaultNullOpts.mkStrLuaOr types.ints.unsigned "vim.o.scrolloff" ''
|
vim_diff_opts = {
|
||||||
|
ctxlen = helpers.defaultNullOpts.mkStrLuaOr types.ints.unsigned "vim.o.scrolloff" ''
|
||||||
Defaults to the scrolloff.
|
Defaults to the scrolloff.
|
||||||
'';
|
'';
|
||||||
|
};
|
||||||
|
|
||||||
entry_format = helpers.defaultNullOpts.mkStr "state #$ID, $STAT, $TIME" ''
|
entry_format = helpers.defaultNullOpts.mkStr "state #$ID, $STAT, $TIME" ''
|
||||||
The format to show on telescope for the different versions of the file.
|
The format to show on telescope for the different versions of the file.
|
||||||
|
@ -116,7 +118,7 @@ telescopeHelpers.mkExtension {
|
||||||
"echo '$DIFF' | delta"
|
"echo '$DIFF' | delta"
|
||||||
];
|
];
|
||||||
side_by_side = true;
|
side_by_side = true;
|
||||||
diff_context_lines = 8;
|
vim_diff_opts.ctxlen = 8;
|
||||||
entry_format = "state #$ID";
|
entry_format = "state #$ID";
|
||||||
time_format = "!%Y-%m-%dT%TZ";
|
time_format = "!%Y-%m-%dT%TZ";
|
||||||
mappings = {
|
mappings = {
|
||||||
|
|
|
@ -21,7 +21,7 @@
|
||||||
"echo '$DIFF' | delta"
|
"echo '$DIFF' | delta"
|
||||||
];
|
];
|
||||||
side_by_side = true;
|
side_by_side = true;
|
||||||
diff_context_lines = 8;
|
vim_diff_opts.ctxlen = 8;
|
||||||
entry_format = "state #$ID";
|
entry_format = "state #$ID";
|
||||||
time_format = "!%Y-%m-%dT%TZ";
|
time_format = "!%Y-%m-%dT%TZ";
|
||||||
mappings = {
|
mappings = {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue