mirror of
https://codeberg.org/leana8959/.files.git
synced 2025-12-06 06:39:14 +00:00
ref(nvim): gitsigns
This commit is contained in:
parent
42e3a6d38a
commit
3716feeb79
2 changed files with 21 additions and 30 deletions
|
|
@ -24,28 +24,4 @@ require "gitsigns".setup({
|
|||
ignore_whitespace = false,
|
||||
},
|
||||
current_line_blame_formatter = '<author>, <author_time:%Y-%m-%d> - <summary>',
|
||||
sign_priority = 6,
|
||||
update_debounce = 100,
|
||||
status_formatter = nil, -- Use default
|
||||
max_file_length = 40000, -- Disable if file is longer than this (in lines)
|
||||
preview_config = {
|
||||
-- Options passed to nvim_open_win
|
||||
border = 'single',
|
||||
style = 'minimal',
|
||||
relative = 'cursor',
|
||||
row = 0,
|
||||
col = 1
|
||||
},
|
||||
yadm = {
|
||||
enable = false
|
||||
},
|
||||
})
|
||||
|
||||
vim.keymap.set("n",
|
||||
"<leader>gl",
|
||||
function()
|
||||
vim.cmd("Gitsigns toggle_numhl")
|
||||
vim.cmd("Gitsigns toggle_signs")
|
||||
end,
|
||||
{ desc = "[G]it High[l]ight" }
|
||||
)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue