Mercurial > vim-gutentags
diff plugin/gutentags.vim @ 132:a6ef1c860d07
Add support for custom root finders like `vim-projectroot`.
author | Ludovic Chabant <ludovic@chabant.com> |
---|---|
date | Wed, 20 Jul 2016 12:22:51 +0200 |
parents | e673026faa56 |
children | 286e5b3095d0 |
line wrap: on
line diff
--- a/plugin/gutentags.vim Wed Jul 20 12:11:13 2016 +0200 +++ b/plugin/gutentags.vim Wed Jul 20 12:22:51 2016 +0200 @@ -32,6 +32,7 @@ if g:gutentags_add_default_project_roots let g:gutentags_project_root += ['.git', '.hg', '.svn', '.bzr', '_darcs', '_FOSSIL_', '.fslckout'] endif +let g:gutentags_project_root_finder = '' let g:gutentags_project_info = get(g:, 'gutentags_project_info', []) call add(g:gutentags_project_info, {'type': 'python', 'file': 'setup.py'})