add core configuration
This commit is contained in:
parent
74c78e1c68
commit
f40517cff1
94 changed files with 2816 additions and 959 deletions
45
home-manager/modules/neovim/plugins/gitsigns.nix
Normal file
45
home-manager/modules/neovim/plugins/gitsigns.nix
Normal file
|
@ -0,0 +1,45 @@
|
|||
{...}: {
|
||||
programs.nixvim.plugins.gitsigns = {
|
||||
enable = true;
|
||||
settings = {
|
||||
signs = {
|
||||
add.text = "▎";
|
||||
change.text = "▎";
|
||||
delete.text = "";
|
||||
topdelete.text = "";
|
||||
changedelete.text = "▎";
|
||||
};
|
||||
|
||||
signs_staged_enable = true;
|
||||
signcolumn = true;
|
||||
numhl = false;
|
||||
linehl = false;
|
||||
word_diff = false;
|
||||
watch_gitdir = {
|
||||
interval = 1000;
|
||||
follow_files = true;
|
||||
};
|
||||
attach_to_untracked = true;
|
||||
current_line_blame = false;
|
||||
current_line_blame_opts = {
|
||||
virt_text = true;
|
||||
virt_text_pos = "eol";
|
||||
delay = 100;
|
||||
ignore_whitespace = true;
|
||||
};
|
||||
|
||||
current_line_blame_formatter = "<author>, <author_time:%Y-%m-%d> — <summary>";
|
||||
sign_priority = 6;
|
||||
status_formatter = null;
|
||||
update_debounce = 200;
|
||||
max_file_length = 40000;
|
||||
preview_config = {
|
||||
border = "rounded";
|
||||
style = "minimal";
|
||||
relative = "cursor";
|
||||
row = 0;
|
||||
col = 1;
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue