changeset 176:3d7f2bf017fd

Merge pull request #122 from GitHub.
author Ludovic Chabant <ludovic@chabant.com>
date Sat, 11 Mar 2017 21:50:00 -0800
parents 721cba3cd20d (diff) 7c879d2e9b69 (current diff)
children 8bac4b955c84
files
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/autoload/gutentags.vim	Fri Mar 10 17:06:20 2017 -0800
+++ b/autoload/gutentags.vim	Sat Mar 11 21:50:00 2017 -0800
@@ -155,7 +155,7 @@
     endif
     while l:path != l:previous_path
         for root in l:markers
-            if !empty(globpath(l:path, root))
+            if !empty(globpath(l:path, root, 1))
                 let l:proj_dir = simplify(fnamemodify(l:path, ':p'))
                 let l:proj_dir = gutentags#stripslash(l:proj_dir)
                 if l:proj_dir == ''