diff doc/gutentags.txt @ 141:7bc4df0225d1

Add support for specifying buffer-specific tagfiles.
author Ludovic Chabant <ludovic@chabant.com>
date Thu, 22 Sep 2016 22:14:17 -0700
parents 95092f4fbc4b
children 513bcd0a1f90
line wrap: on
line diff
--- a/doc/gutentags.txt	Thu Sep 22 21:06:58 2016 -0700
+++ b/doc/gutentags.txt	Thu Sep 22 22:14:17 2016 -0700
@@ -387,15 +387,23 @@
                         part of the project.
                         Defaults to 0.
                         
-                                            *gutentags_enabled_user_func*
-g:gutentags_enabled_user_func
+                                            *gutentags_init_user_func*
+g:gutentags_init_user_func
                         When set to a non-empty string, it is expected to be
                         the name of a function that will be called when a file
                         is opened in a project. The function gets passed the
                         path of the file and if it returns 0, Gutentags won't
                         be enabled for that file.
-                        You can use this also to manually set `b:gutentags_root`
-                        (see |gutentags_project_root|).
+
+                        You can use this to manually set buffer-local
+                        settings:
+                        
+                        * `b:gutentags_tagfile` (see |gutentags_tagfile|).
+
+                        This setting was previously called 
+                        `gutentags_enabled_user_func`. The old setting is
+                        still used as a fallback.
+
                         Defaults to "".
 
                                             *gutentags_define_advanced_commands*