summaryrefslogtreecommitdiff
path: root/.config/nvim/lua
diff options
context:
space:
mode:
Diffstat (limited to '.config/nvim/lua')
-rw-r--r--.config/nvim/lua/plugins.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/.config/nvim/lua/plugins.lua b/.config/nvim/lua/plugins.lua
index 1e34627..d94611b 100644
--- a/.config/nvim/lua/plugins.lua
+++ b/.config/nvim/lua/plugins.lua
@@ -304,7 +304,7 @@ return require("packer").startup(function(use)
-- vim rooter for projects
use {
"airblade/vim-rooter",
- event = "BufRead",
+ event = "BufWinEnter",
disable = not O.plugin.vim_rooter.active,
}