comparison autoload/gutentags.vim @ 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 c1b33dc55b1c
children fca5dc8c8022
comparison
equal deleted inserted replaced
54:50d2a7cbf7c8 55:96067ed08fb1
96 endif 96 endif
97 97
98 " Try and find what tags file we should manage. 98 " Try and find what tags file we should manage.
99 call gutentags#trace("Scanning buffer '" . bufname('%') . "' for gutentags setup...") 99 call gutentags#trace("Scanning buffer '" . bufname('%') . "' for gutentags setup...")
100 try 100 try
101 let b:gutentags_root = gutentags#get_project_root(expand('%:h')) 101 let b:gutentags_root = gutentags#get_project_root(expand('%:p:h'))
102 if filereadable(b:gutentags_root . '/.notags') 102 if filereadable(b:gutentags_root . '/.notags')
103 call gutentags#trace("'notags' file found... no gutentags support.") 103 call gutentags#trace("'notags' file found... no gutentags support.")
104 return 104 return
105 endif 105 endif
106 106