comparison autoload/gutentags.vim @ 124:e2a43c03da79

Merge pull request #76 from GitHub.
author Ludovic Chabant <ludovic@chabant.com>
date Mon, 13 Jun 2016 18:46:35 -0700
parents 3763e9f412e7 76a4822aab76
children b6ec4caa22ff
comparison
equal deleted inserted replaced
122:3763e9f412e7 124:e2a43c03da79
164 try 164 try
165 let l:buf_dir = expand('%:p:h', 1) 165 let l:buf_dir = expand('%:p:h', 1)
166 if g:gutentags_resolve_symlinks 166 if g:gutentags_resolve_symlinks
167 let l:buf_dir = fnamemodify(resolve(expand('%:p', 1)), ':p:h') 167 let l:buf_dir = fnamemodify(resolve(expand('%:p', 1)), ':p:h')
168 endif 168 endif
169 let b:gutentags_root = gutentags#get_project_root(l:buf_dir) 169 if !exists('b:gutentags_root')
170 let b:gutentags_root = gutentags#get_project_root(l:buf_dir)
171 endif
170 if filereadable(b:gutentags_root . '/.notags') 172 if filereadable(b:gutentags_root . '/.notags')
171 call gutentags#trace("'.notags' file found... no gutentags support.") 173 call gutentags#trace("'.notags' file found... no gutentags support.")
172 return 174 return
173 endif 175 endif
174 176