return { 'lewis6991/gitsigns.nvim', opts = { signs = { add = {hl = 'GitSignsAdd', text = '│', numhl = 'GitSignsAddNr', linehl = 'GitSignsAddLn'}, change = { hl = 'GitSignsChange', text = '│', numhl = 'GitSignsChangeNr', linehl = 'GitSignsChangeLn' }, delete = { hl = 'GitSignsDelete', text = '-', numhl = 'GitSignsDeleteNr', linehl = 'GitSignsDeleteLn' }, topdelete = { hl = 'GitSignsDelete', text = '‾', numhl = 'GitSignsDeleteNr', linehl = 'GitSignsDeleteLn' }, changedelete = { hl = 'GitSignsChange', text = '~', numhl = 'GitSignsChangeNr', linehl = 'GitSignsChangeLn' } }, numhl = true, linehl = false, keymaps = { -- Default keymap options noremap = true, buffer = true, ['n hn'] = { expr = true, "&diff ? 'hn' : 'lua require\"gitsigns\".next_hunk()'" }, ['n hN'] = { expr = true, "&diff ? 'hN' : 'lua require\"gitsigns\".prev_hunk()'" }, ['n hs'] = 'lua require"gitsigns".stage_hunk()', ['n hu'] = 'lua require"gitsigns".undo_stage_hunk()', ['n hr'] = 'lua require"gitsigns".reset_hunk()', ['n hR'] = 'lua require"gitsigns".reset_buffer()', ['n hp'] = 'lua require"gitsigns".preview_hunk()', ['n hb'] = 'lua require"gitsigns".blame_line()' }, watch_gitdir = {interval = 1000}, current_line_blame = true, sign_priority = 6, update_debounce = 100, status_formatter = nil, -- Use default diff_opts = {internal = true} } }