From 9afa356fb361b46f5668418f3d9573850390dbf1 Mon Sep 17 00:00:00 2001 From: Junegunn Choi Date: Thu, 17 Jul 2014 10:28:59 +0900 Subject: [PATCH] Exclude unmanaged plugins from PlugDiff output --- plug.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plug.vim b/plug.vim index a98890a..7f91ecb 100644 --- a/plug.vim +++ b/plug.vim @@ -1022,7 +1022,7 @@ function! s:diff() let cnt = 0 for [k, v] in items(g:plugs) - if !isdirectory(v.dir) + if !isdirectory(v.dir) || !s:is_managed(k) continue endif