diff 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
line wrap: on
line diff
--- a/plugin/gutentags.vim	Tue Mar 12 21:31:02 2019 -0700
+++ b/plugin/gutentags.vim	Tue Mar 12 21:43:50 2019 -0700
@@ -38,6 +38,7 @@
 let g:gutentags_init_user_func = get(g:, 'gutentags_init_user_func', 
             \get(g:, 'gutentags_enabled_user_func', ''))
 
+let g:gutentags_add_ctrlp_root_markers = get(g:, 'gutentags_add_ctrlp_root_markers', 1)
 let g:gutentags_add_default_project_roots = get(g:, 'gutentags_add_default_project_roots', 1)
 let g:gutentags_project_root = get(g:, 'gutentags_project_root', [])
 if g:gutentags_add_default_project_roots