Mercurial > vim-gutentags
changeset 61:735fce322ae4
Add documentation for `g:gutentags_generate_on_new`.
author | Ludovic Chabant <ludovic@chabant.com> |
---|---|
date | Wed, 15 Jul 2015 21:59:01 -0700 |
parents | 9e768b83d701 |
children | 106757c129cb |
files | doc/gutentags.txt |
diffstat | 1 files changed, 14 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/doc/gutentags.txt Sat May 16 21:51:17 2015 -0700 +++ b/doc/gutentags.txt Wed Jul 15 21:59:01 2015 -0700 @@ -279,6 +279,20 @@ |GutentagsUpdate| or |GutentagsGenerate| is run. Defaults to 1. + *gutentags_generate_on_new* +g:gutentags_generate_on_new + If set to 1, Gutentags will start generating the tag + file when a new project is open. A new project is + considered open when a buffer is created for a file + whose corresponding tag file has not been "seen" yet + in the current Vim session -- which pretty much means + when you open the first file in a given source control + repository. + When set to 0, Gutentags won't do anything special. + See also |gutentags_generate_on_missing| and + |gutentags_generate_on_write|. + Defaults to 1. + *gutentags_generate_on_write* g:gutentags_generate_on_write If set to 1, Gutentags will update the current