fix(fugitive): allow fugitive to load when no files are opened
Add VeryLazy event to fugitive in order to load it even when files aren't opened
This commit is contained in:
parent
43fa71bcd2
commit
b969172234
1 changed files with 1 additions and 1 deletions
|
|
@ -2,7 +2,7 @@ return {
|
|||
-- Fugitive
|
||||
{
|
||||
"tpope/vim-fugitive",
|
||||
event = { "BufReadPost", "BufNewFile", "BufWritePre" },
|
||||
event = { "BufReadPost", "BufNewFile", "BufWritePre", "VeryLazy" },
|
||||
config = function()
|
||||
local function map(mode, l, r, desc)
|
||||
vim.keymap.set(mode, l, r, { silent = true, noremap = true, desc = desc })
|
||||
|
|
|
|||
Loading…
Reference in a new issue