Mercurial > vim-gutentags
comparison plugin/gutentags.vim @ 128:e673026faa56
Add option to not append the default project root markers.
author | Ludovic Chabant <ludovic@chabant.com> |
---|---|
date | Mon, 13 Jun 2016 19:25:52 -0700 |
parents | 5776acb079cf |
children | a6ef1c860d07 |
comparison
equal
deleted
inserted
replaced
127:db773e26e43b | 128:e673026faa56 |
---|---|
25 let g:gutentags_pause_after_update = get(g:, 'gutentags_pause_after_update', 0) | 25 let g:gutentags_pause_after_update = get(g:, 'gutentags_pause_after_update', 0) |
26 let g:gutentags_enabled = get(g:, 'gutentags_enabled', 1) | 26 let g:gutentags_enabled = get(g:, 'gutentags_enabled', 1) |
27 let g:gutentags_enabled_user_func = get(g:, 'gutentags_enabled_user_func', '') | 27 let g:gutentags_enabled_user_func = get(g:, 'gutentags_enabled_user_func', '') |
28 let g:gutentags_modules = get(g:, 'gutentags_modules', ['ctags']) | 28 let g:gutentags_modules = get(g:, 'gutentags_modules', ['ctags']) |
29 | 29 |
30 let g:gutentags_add_default_project_roots = get(g:, 'gutentags_add_default_project_roots', 1) | |
30 let g:gutentags_project_root = get(g:, 'gutentags_project_root', []) | 31 let g:gutentags_project_root = get(g:, 'gutentags_project_root', []) |
31 let g:gutentags_project_root += ['.git', '.hg', '.svn', '.bzr', '_darcs', '_FOSSIL_', '.fslckout'] | 32 if g:gutentags_add_default_project_roots |
33 let g:gutentags_project_root += ['.git', '.hg', '.svn', '.bzr', '_darcs', '_FOSSIL_', '.fslckout'] | |
34 endif | |
32 | 35 |
33 let g:gutentags_project_info = get(g:, 'gutentags_project_info', []) | 36 let g:gutentags_project_info = get(g:, 'gutentags_project_info', []) |
34 call add(g:gutentags_project_info, {'type': 'python', 'file': 'setup.py'}) | 37 call add(g:gutentags_project_info, {'type': 'python', 'file': 'setup.py'}) |
35 call add(g:gutentags_project_info, {'type': 'ruby', 'file': 'Gemfile'}) | 38 call add(g:gutentags_project_info, {'type': 'ruby', 'file': 'Gemfile'}) |
36 | 39 |