diff doc/gutentags.txt @ 182:2489b4b54d5c

Add `g:gutentags_generate_on_empty_buffer` setting.
author Ludovic Chabant <ludovic@chabant.com>
date Tue, 18 Apr 2017 21:43:59 -0700
parents cbc1ebe23ef1
children 676fe2ea919f
line wrap: on
line diff
--- a/doc/gutentags.txt	Thu Mar 23 17:38:14 2017 -0700
+++ b/doc/gutentags.txt	Tue Apr 18 21:43:59 2017 -0700
@@ -381,6 +381,16 @@
                         |GutentagsUpdate| manually.
                         Defaults to 1.
 
+                                            *gutentags_generate_on_empty_buffer*
+g:gutentags_generate_on_empty_buffer
+                        If set to 1, Gutentags will start generating the tag
+                        file even if there's no buffer currently open, as long
+                        as the current working directory (as returned by
+                        |:cd|) is inside a known project.
+                        This is useful if you want Gutentags to generate the
+                        tag file right after opening Vim.
+                        Defaults to 0.
+
                                                 *gutentags_background_update*
 g:gutentags_background_update
                         Specifies whether the process that updates the tags