comparison doc/gutentags.txt @ 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 6900302dae0b
comparison
equal deleted inserted replaced
60:9e768b83d701 61:735fce322ae4
277 time the file is saved (if 277 time the file is saved (if
278 |gutentags_generate_on_write| is set to 1), or when 278 |gutentags_generate_on_write| is set to 1), or when
279 |GutentagsUpdate| or |GutentagsGenerate| is run. 279 |GutentagsUpdate| or |GutentagsGenerate| is run.
280 Defaults to 1. 280 Defaults to 1.
281 281
282 *gutentags_generate_on_new*
283 g:gutentags_generate_on_new
284 If set to 1, Gutentags will start generating the tag
285 file when a new project is open. A new project is
286 considered open when a buffer is created for a file
287 whose corresponding tag file has not been "seen" yet
288 in the current Vim session -- which pretty much means
289 when you open the first file in a given source control
290 repository.
291 When set to 0, Gutentags won't do anything special.
292 See also |gutentags_generate_on_missing| and
293 |gutentags_generate_on_write|.
294 Defaults to 1.
295
282 *gutentags_generate_on_write* 296 *gutentags_generate_on_write*
283 g:gutentags_generate_on_write 297 g:gutentags_generate_on_write
284 If set to 1, Gutentags will update the current 298 If set to 1, Gutentags will update the current
285 project's tag file when a file inside that project is 299 project's tag file when a file inside that project is
286 saved. See |gutentags_project_root| for how Gutentags 300 saved. See |gutentags_project_root| for how Gutentags