Mercurial > vim-gutentags
diff autoload/gutentags.vim @ 146:3459a2522a3b
Enable Project Root Finder
Only set project root finder to blank if not already set and test
explicitly for a non blank setting to see if it has been set
author | thecontinium <thecontinium@outlook.com> |
---|---|
date | Tue, 15 Nov 2016 12:50:48 +0800 |
parents | 286e5b3095d0 |
children | d566ec6cd2f7 |
line wrap: on
line diff
--- a/autoload/gutentags.vim Thu Oct 27 13:11:25 2016 +0200 +++ b/autoload/gutentags.vim Tue Nov 15 12:50:48 2016 +0800 @@ -104,7 +104,7 @@ " Finds the first directory with a project marker by walking up from the given " file path. function! gutentags#get_project_root(path) abort - if g:gutentags_project_root_finder + if g:gutentags_project_root_finder != '' return call(g:gutentags_project_root_finder, [a:path]) endif