Mercurial > vim-gutentags
diff doc/gutentags.txt @ 123:76a4822aab76
Use existing b:gutentags_root
This could be set from g:gutentags_enabled_user_func then, for example.
author | Daniel Hahler <git@thequod.de> |
---|---|
date | Wed, 06 Apr 2016 18:05:39 +0200 |
parents | d645125192aa |
children | e2a43c03da79 |
line wrap: on
line diff
--- a/doc/gutentags.txt Fri Mar 25 20:41:38 2016 -0700 +++ b/doc/gutentags.txt Wed Apr 06 18:05:39 2016 +0200 @@ -332,9 +332,11 @@ g:gutentags_enabled_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 open in a project. The function gets passed the + 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|). Defaults to "". *gutentags_define_advanced_commands*