diff options
| author | opalmay <[email protected]> | 2023-01-07 17:03:03 +0200 | 
|---|---|---|
| committer | GitHub <[email protected]> | 2023-01-07 17:03:03 +0200 | 
| commit | 5ae42b0c44c4237912dcea18457582b52d53804e (patch) | |
| tree | 9dcc55b80e9293d36ccef3a3f3a0743e7dbcaeb2 /lua/lvim/core/gitsigns.lua | |
| parent | 719adbc4bb3a494073d1063bf2768bb2834e3916 (diff) | |
feat: update setup tables (#3693)
* feat(nvim-tree): update setup table
* chore: lint
* fix: move option to correct place
* feat(illuminate): update setup table
* feat(which-key): update setup table
* feat(project.nvim): update setup table
* feat(gitsigns): update setup table
* chore: lint
* feat(lir): update setup table
Diffstat (limited to 'lua/lvim/core/gitsigns.lua')
| -rw-r--r-- | lua/lvim/core/gitsigns.lua | 25 | 
1 files changed, 9 insertions, 16 deletions
| diff --git a/lua/lvim/core/gitsigns.lua b/lua/lvim/core/gitsigns.lua index cc727c8b..1c8619c8 100644 --- a/lua/lvim/core/gitsigns.lua +++ b/lua/lvim/core/gitsigns.lua @@ -37,15 +37,14 @@ M.config = function()            linehl = "GitSignsChangeLn",          },        }, +      signcolumn = true,        numhl = false,        linehl = false, -      keymaps = { -        -- Default keymap options -        noremap = true, -        buffer = true, -      }, -      signcolumn = true,        word_diff = false, +      watch_gitdir = { +        interval = 1000, +        follow_files = true, +      },        attach_to_untracked = true,        current_line_blame = false, -- Toggle with `:Gitsigns toggle_current_line_blame`        current_line_blame_opts = { @@ -54,9 +53,10 @@ M.config = function()          delay = 1000,          ignore_whitespace = false,        }, -      current_line_blame_formatter_opts = { -        relative_time = false, -      }, +      current_line_blame_formatter = "<author>, <author_time:%Y-%m-%d> - <summary>", +      sign_priority = 6, +      status_formatter = nil, -- Use default +      update_debounce = 200,        max_file_length = 40000,        preview_config = {          -- Options passed to nvim_open_win @@ -66,13 +66,6 @@ M.config = function()          row = 0,          col = 1,        }, -      watch_gitdir = { -        interval = 1000, -        follow_files = true, -      }, -      sign_priority = 6, -      update_debounce = 200, -      status_formatter = nil, -- Use default        yadm = { enable = false },      },    } | 
