mirror of
https://github.com/nix-community/nixvim.git
synced 2025-06-21 16:39:00 +02:00
plugins/gitblame: switch to mkNeovimPlugin
This commit is contained in:
parent
0bc1699037
commit
96d0a2e390
2 changed files with 159 additions and 56 deletions
|
@ -6,14 +6,48 @@
|
|||
defaults = {
|
||||
plugins.gitblame = {
|
||||
enable = true;
|
||||
messageTemplate = " <author> • <date> • <summary>";
|
||||
dateFormat = "%c";
|
||||
messageWhenNotCommitted = " Not Committed Yet";
|
||||
highlightGroup = "Comment";
|
||||
displayVirtualText = true;
|
||||
delay = 0;
|
||||
virtualTextColumn = null;
|
||||
extmarkOptions = null;
|
||||
|
||||
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