mirror of
https://github.com/nix-community/nixvim.git
synced 2025-06-21 00:25:42 +02:00
plugins/git: move to by-name
This commit is contained in:
parent
d016b139fc
commit
2a91b89445
29 changed files with 0 additions and 15 deletions
53
tests/test-sources/plugins/by-name/gitblame/default.nix
Normal file
53
tests/test-sources/plugins/by-name/gitblame/default.nix
Normal file
|
@ -0,0 +1,53 @@
|
|||
{
|
||||
empty = {
|
||||
plugins.gitblame.enable = true;
|
||||
};
|
||||
|
||||
defaults = {
|
||||
plugins.gitblame = {
|
||||
enable = true;
|
||||
|
||||
settings = {
|
||||
enabled = true;
|
||||
message_template = " <author> • <date> • <summary>";
|
||||
date_format = "%c";
|
||||
message_when_not_committed = " Not Committed Yet";
|
||||
highlight_group = "Comment";
|
||||
set_extmark_options = { };
|
||||
display_virtual_text = true;
|
||||
ignored_filetypes = [ ];
|
||||
delay = 250;
|
||||
virtual_text_column = null;
|
||||
use_blame_commit_file_urls = false;
|
||||
schedule_event = "CursorMoved";
|
||||
clear_event = "CursorMovedI";
|
||||
clipboard_register = "+";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
example = {
|
||||
plugins.gitblame = {
|
||||
enable = true;
|
||||
|
||||
settings = {
|
||||
message_template = "<summary> • <date> • <author>";
|
||||
date_format = "%r";
|
||||
message_when_not_committed = "Oh please, commit this !";
|
||||
highlight_group = "Question";
|
||||
set_extmark_options.priority = 7;
|
||||
display_virtual_text = false;
|
||||
ignored_filetypes = [
|
||||
"lua"
|
||||
"c"
|
||||
];
|
||||
delay = 1000;
|
||||
virtual_text_column = 80;
|
||||
use_blame_commit_file_urls = true;
|
||||
schedule_event = "CursorHold";
|
||||
clear_event = "CursorHoldI";
|
||||
clipboard_register = "*";
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue