mirror of
https://github.com/nix-community/nixvim.git
synced 2025-11-13 05:56:08 +01:00
Add support for [linediff.vim](https://github.com/AndrewRadev/linediff.vim), a vim plugin to perform diffs on blocks of code. Closes #3520
33 lines
643 B
Nix
33 lines
643 B
Nix
{
|
|
empty = {
|
|
plugins.linediff.enable = true;
|
|
};
|
|
|
|
defaults = {
|
|
plugins.linediff = {
|
|
enable = true;
|
|
|
|
settings = {
|
|
indent = 0;
|
|
buffer_type = "tempfile";
|
|
first_buffer_command = "tabnew";
|
|
further_buffer_command = "rightbelow vertical new";
|
|
diffopt = "builtin";
|
|
modify_statusline = 0;
|
|
sign_highlight_group = "Search";
|
|
};
|
|
};
|
|
};
|
|
|
|
example = {
|
|
plugins.linediff = {
|
|
enable = true;
|
|
|
|
settings = {
|
|
modify_statusline = 0;
|
|
first_buffer_command = "topleft new";
|
|
second_buffer_command = "vertical new";
|
|
};
|
|
};
|
|
};
|
|
}
|