dotfiles

$HOME is where the <3 is
git clone git://git.alexkarle.com/dotfiles.git
Log | Files | Refs | Submodules | README

commit 4befe5c7bed45fa785bf66c5ce8e5bfbc3fa365d (patch)
parent 8a07a310f6790908216cd6862653a7d6512ab90b
Author: Alex Karle <alex@karle.co>
Date:   Sat,  2 Nov 2019 12:46:25 -0400

vim: fix dirvish vs netrw decision

There is an outstanding bug in... something, that makes dirvish and
netrw not play nicely together. I was previously checking for the
presence of the "vim-dirvish" directory to see if we should disable
netrw.

This breaks down because it will always be there, even if the submodule
is not 'init' and 'updated'.

Changing the check for vim-dirvish/plugin correctly represents if we are
actually using dirvish.

Diffstat:
Mvim/vimrc | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/vim/vimrc b/vim/vimrc @@ -72,7 +72,7 @@ let g:netrw_banner=0 " disable banner let g:netrw_liststyle=1 " details view " If using Dirvish, don't use netrw -if isdirectory(s:vimdir . '/pack/plugins/start/vim-dirvish') +if isdirectory(s:vimdir . '/pack/plugins/start/vim-dirvish/plugin') " Dirvish #137 let loaded_netrwPlugin = 1 endif