Simplify gitsigns setup by a tiny amount
This commit is contained in:
parent
18abc39e9c
commit
ad3eaf120a
|
@ -4,8 +4,7 @@ local M = {
|
|||
"lewis6991/gitsigns.nvim",
|
||||
event = "BufReadPost",
|
||||
cond = env.firenvim.not_active() and env.vscode.not_active(),
|
||||
config = function()
|
||||
require("gitsigns").setup({
|
||||
opts = {
|
||||
on_attach = function(bufnr)
|
||||
local wk = require("which-key")
|
||||
local gs = package.loaded.gitsigns
|
||||
|
@ -93,8 +92,7 @@ local M = {
|
|||
map({ "o", "x" }, "ih", ":<C-U>Gitsigns select_hunk<CR>", "Inside hunk")
|
||||
-- }}}
|
||||
end,
|
||||
})
|
||||
end,
|
||||
},
|
||||
}
|
||||
|
||||
return M
|
||||
|
|
Loading…
Reference in a new issue