summaryrefslogtreecommitdiff
path: root/.config
diff options
context:
space:
mode:
Diffstat (limited to '.config')
-rw-r--r--.config/nvim/config.lua2
-rw-r--r--.config/nvim/lua/plugins.lua2
2 files changed, 2 insertions, 2 deletions
diff --git a/.config/nvim/config.lua b/.config/nvim/config.lua
index e82c3c8..c02f041 100644
--- a/.config/nvim/config.lua
+++ b/.config/nvim/config.lua
@@ -20,7 +20,7 @@ O.plugin.telescope_fzy.active = true
O.plugin.trouble.active = true
O.plugin.ts_autotag.active = true
O.plugin.zen.active = true
-O.plugin.vim_rooter.active = false
+O.plugin.vim_rooter.active = true
-- if you don't want all the parsers change this to a table of the ones you want
O.treesitter.ensure_installed = "all"
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,
}