# HG changeset patch # User Ludovic Chabant # Date 1437022741 25200 # Node ID 735fce322ae47da41b39a52685b3c232f62124b1 # Parent 9e768b83d701bda056028cdabf731107f805a787 Add documentation for `g:gutentags_generate_on_new`. diff -r 9e768b83d701 -r 735fce322ae4 doc/gutentags.txt --- 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