From 44eaadfc6866da2c39333ab937a92383f54fc83a Mon Sep 17 00:00:00 2001 From: Gustaf Rydholm Date: Thu, 8 Jul 2021 21:15:34 +0200 Subject: Add vim-rooter --- .config/nvim/config.lua | 2 +- .config/nvim/lua/plugins.lua | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to '.config/nvim') 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, } -- cgit v1.2.3-70-g09d2