Mercurial > vim-gutentags
diff doc/gutentags.txt @ 88:073e63cc0456
Add `gutentags_enabled_user_func` callback.
author | Ludovic Chabant <ludovic@chabant.com> |
---|---|
date | Tue, 24 Nov 2015 21:47:26 -0800 |
parents | 0424970d81f8 |
children | 8bf96f9f649c |
line wrap: on
line diff
--- a/doc/gutentags.txt Tue Nov 17 21:11:20 2015 -0800 +++ b/doc/gutentags.txt Tue Nov 24 21:47:26 2015 -0800 @@ -339,6 +339,15 @@ maybe not what you want if the symlink itself is part of the project. Defaults to 0. + + *gutentags_enabled_user_func* +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 + path of the file and if it returns 0, Gutentags won't + be enabled for that file. + Defaults to "". *gutentags_define_advanced_commands* g:gutentags_define_advanced_commands