comparison plugin/gutentags.vim @ 243:050d0549ecf3

Add `g:gutentags_add_ctrlp_root_markers` option. This lets users prevent Gutentags from appending CtrlP root markers, if found.
author Ludovic Chabant <ludovic@chabant.com>
date Tue, 12 Mar 2019 21:43:50 -0700
parents 34bee0477b51
children 52be4cf89810
comparison
equal deleted inserted replaced
242:23ce1c1b359f 243:050d0549ecf3
36 let g:gutentags_modules = get(g:, 'gutentags_modules', ['ctags']) 36 let g:gutentags_modules = get(g:, 'gutentags_modules', ['ctags'])
37 37
38 let g:gutentags_init_user_func = get(g:, 'gutentags_init_user_func', 38 let g:gutentags_init_user_func = get(g:, 'gutentags_init_user_func',
39 \get(g:, 'gutentags_enabled_user_func', '')) 39 \get(g:, 'gutentags_enabled_user_func', ''))
40 40
41 let g:gutentags_add_ctrlp_root_markers = get(g:, 'gutentags_add_ctrlp_root_markers', 1)
41 let g:gutentags_add_default_project_roots = get(g:, 'gutentags_add_default_project_roots', 1) 42 let g:gutentags_add_default_project_roots = get(g:, 'gutentags_add_default_project_roots', 1)
42 let g:gutentags_project_root = get(g:, 'gutentags_project_root', []) 43 let g:gutentags_project_root = get(g:, 'gutentags_project_root', [])
43 if g:gutentags_add_default_project_roots 44 if g:gutentags_add_default_project_roots
44 let g:gutentags_project_root += ['.git', '.hg', '.svn', '.bzr', '_darcs', '_FOSSIL_', '.fslckout'] 45 let g:gutentags_project_root += ['.git', '.hg', '.svn', '.bzr', '_darcs', '_FOSSIL_', '.fslckout']
45 endif 46 endif