summaryrefslogtreecommitdiff
path: root/.config/nvim/lua
diff options
context:
space:
mode:
authorGustaf Rydholm <gustaf.rydholm@gmail.com>2021-07-08 21:15:34 +0200
committerGustaf Rydholm <gustaf.rydholm@gmail.com>2021-07-08 21:15:34 +0200
commit44eaadfc6866da2c39333ab937a92383f54fc83a (patch)
tree084d405d490bac57fd803db148d9b37f08194359 /.config/nvim/lua
parent4778a88d7a8ca2b56965bbe473263aeaecbd77f6 (diff)
Add vim-rooter
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,
}