more more more
This commit is contained in:
@ -2,7 +2,18 @@ local map = core.misc.map
|
||||
|
||||
return { "lewis6991/gitsigns.nvim",
|
||||
disable = not vim.fn.has("nvim-0.9.0"),
|
||||
function()
|
||||
lazy = function(load)
|
||||
load:auto({ "BufEnter", "BufNew" }, {
|
||||
callback = function()
|
||||
local paths = vim.fs.find({ ".git", }, { upward = true })
|
||||
if #paths > 0 then
|
||||
load:cleanup()
|
||||
end
|
||||
end
|
||||
})
|
||||
load:cmd("Gitsigns")
|
||||
end,
|
||||
load = function()
|
||||
local gs = require("gitsigns")
|
||||
|
||||
gs.setup {
|
||||
|
Reference in New Issue
Block a user