feat(fugitive): auto-reload on bufwrite
This commit is contained in:
@@ -70,4 +70,11 @@ return {
|
|||||||
mode = "n",
|
mode = "n",
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
config = function()
|
||||||
|
vim.api.nvim_create_autocmd("BufWritePost", {
|
||||||
|
callback = function()
|
||||||
|
vim.fn["fugitive#ReloadStatus"]()
|
||||||
|
end,
|
||||||
|
})
|
||||||
|
end,
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user