changeset 56:fca5dc8c8022

call expand with 1 to turn off wildignore jic
author dnhgff <null@dnhgff.space>
date Tue, 28 Apr 2015 09:39:48 -0700
parents 96067ed08fb1
children 6c98089d9ffa
files autoload/gutentags.vim
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/autoload/gutentags.vim	Tue Apr 28 09:28:23 2015 -0700
+++ b/autoload/gutentags.vim	Tue Apr 28 09:39:48 2015 -0700
@@ -98,7 +98,7 @@
     " Try and find what tags file we should manage.
     call gutentags#trace("Scanning buffer '" . bufname('%') . "' for gutentags setup...")
     try
-        let b:gutentags_root = gutentags#get_project_root(expand('%:p:h'))
+        let b:gutentags_root = gutentags#get_project_root(expand('%:p:h', 1))
         if filereadable(b:gutentags_root . '/.notags')
             call gutentags#trace("'notags' file found... no gutentags support.")
             return