From a514903307a35963ede428b565ea499861839ef1 Mon Sep 17 00:00:00 2001 From: adam <56338480+adastx@users.noreply.github.com> Date: Sun, 9 Oct 2022 23:45:18 +0200 Subject: nvim: fugitive better git repo detection --- .config/nvim/lua/plugins.lua | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to '.config/nvim/lua/plugins.lua') diff --git a/.config/nvim/lua/plugins.lua b/.config/nvim/lua/plugins.lua index cf27f1f..68a0ee1 100644 --- a/.config/nvim/lua/plugins.lua +++ b/.config/nvim/lua/plugins.lua @@ -137,8 +137,10 @@ return require('packer').startup(function(use) use { "tpope/vim-fugitive", - config = "vim.cmd [[call FugitiveDetect('~/.cfg')]]", cmd = { 'G', 'Ggrep' }, + config = function() + require "setup.fugitive" + end, } use { -- cgit v1.2.3-70-g09d2