Mercurial > vim-gutentags
comparison 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 |
comparison
equal
deleted
inserted
replaced
131:ec57d6a14486 | 132:a6ef1c860d07 |
---|---|
30 let g:gutentags_add_default_project_roots = get(g:, 'gutentags_add_default_project_roots', 1) | 30 let g:gutentags_add_default_project_roots = get(g:, 'gutentags_add_default_project_roots', 1) |
31 let g:gutentags_project_root = get(g:, 'gutentags_project_root', []) | 31 let g:gutentags_project_root = get(g:, 'gutentags_project_root', []) |
32 if g:gutentags_add_default_project_roots | 32 if g:gutentags_add_default_project_roots |
33 let g:gutentags_project_root += ['.git', '.hg', '.svn', '.bzr', '_darcs', '_FOSSIL_', '.fslckout'] | 33 let g:gutentags_project_root += ['.git', '.hg', '.svn', '.bzr', '_darcs', '_FOSSIL_', '.fslckout'] |
34 endif | 34 endif |
35 let g:gutentags_project_root_finder = '' | |
35 | 36 |
36 let g:gutentags_project_info = get(g:, 'gutentags_project_info', []) | 37 let g:gutentags_project_info = get(g:, 'gutentags_project_info', []) |
37 call add(g:gutentags_project_info, {'type': 'python', 'file': 'setup.py'}) | 38 call add(g:gutentags_project_info, {'type': 'python', 'file': 'setup.py'}) |
38 call add(g:gutentags_project_info, {'type': 'ruby', 'file': 'Gemfile'}) | 39 call add(g:gutentags_project_info, {'type': 'ruby', 'file': 'Gemfile'}) |
39 | 40 |