diff autoload/gutentags.vim @ 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 286e5b3095d0
children d566ec6cd2f7
line wrap: on
line diff
--- a/autoload/gutentags.vim	Thu Sep 22 21:06:58 2016 -0700
+++ b/autoload/gutentags.vim	Thu Sep 22 22:14:17 2016 -0700
@@ -183,8 +183,8 @@
     endif
 
     " Let the user specify custom ways to disable Gutentags.
-    if g:gutentags_enabled_user_func != '' &&
-                \!call(g:gutentags_enabled_user_func, [expand('%:p')])
+    if g:gutentags_init_user_func != '' &&
+                \!call(g:gutentags_init_user_func, [expand('%:p')])
         call gutentags#trace("Ignoring '" . bufname('%') . "' because of " .
                     \"custom user function.")
         return