Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Enable deferring tags file registration (VimEnter)
By default the plug-in initializes the &tags option as soon as possible so that the global tags file is available when using "vim -t some_tag". If you don't use "vim -t" and want to defer registering the global tags file until the interface has been initialized you can now set the global variable g:easytags_register_late = 1. This commit is based on a pull request from Daniel Hahler, I added the option to enable either mode of initialization (I guess Daniel doesn't use "vim -t some_tag", but I certainly do :-). Here's the original commit message: Move calling RegisterTagsFile to `au VimEnter`. Calling RegisterTagsFile on VimEnter instead of when including the plugin appears to make it behave better when (re)setting 'tags' in vimrc. I do not remember if this is related to using tplugin only.
- Loading branch information