changeset 55:96067ed08fb1

call gutentags#get_project_root with absolute path to current file
author dnhgff <null@dnhgff.space>
date Tue, 28 Apr 2015 09:28:23 -0700
parents 50d2a7cbf7c8
children fca5dc8c8022
files autoload/gutentags.vim
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/autoload/gutentags.vim	Sat Apr 11 09:34:34 2015 -0700
+++ b/autoload/gutentags.vim	Tue Apr 28 09:28:23 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('%:h'))
+        let b:gutentags_root = gutentags#get_project_root(expand('%:p:h'))
         if filereadable(b:gutentags_root . '/.notags')
             call gutentags#trace("'notags' file found... no gutentags support.")
             return