mirror of
https://github.com/nix-community/nixvim.git
synced 2025-07-23 12:15:26 +02:00
plugins: swith to the new behaviour of mkRaw
This commit is contained in:
parent
8cf2d943d2
commit
19f39c3b1b
32 changed files with 66 additions and 127 deletions
|
@ -30,7 +30,7 @@ in {
|
|||
'';
|
||||
|
||||
diffContextLines = helpers.defaultNullOpts.mkNullable (with types; either ints.unsigned str) "vim.o.scrolloff" ''
|
||||
Defaults to the scrolloff
|
||||
Defaults to the scrolloff.
|
||||
'';
|
||||
|
||||
entryFormat = helpers.defaultNullOpts.mkStr "state #$ID, $STAT, $TIME" ''
|
||||
|
@ -79,8 +79,8 @@ in {
|
|||
use_custom_command = useCustomCommand;
|
||||
side_by_side = sideBySide;
|
||||
diff_context_lines =
|
||||
if isInt diffContextLines
|
||||
then helpers.mkRaw "diffContextLines"
|
||||
if isString diffContextLines
|
||||
then helpers.mkRaw diffContextLines
|
||||
else diffContextLines;
|
||||
entry_format = entryFormat;
|
||||
time_format = timeFormat;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue