aboutsummaryrefslogtreecommitdiffstats
path: root/complete.vim
diff options
context:
space:
mode:
authorDaniel Hahler <git@thequod.de>2011-04-04 21:18:24 +0200
committerPeter Odding <peter@peterodding.com>2011-04-11 21:09:11 +0200
commit3466f613e926645ac6fd6474cf0404adc416477b (patch)
treedfb944177a09c96512bfa857547d91fe3cc40a1d /complete.vim
parentfffde4246e7cec00eac02b9fac6659ea8855124f (diff)
downloadvim-easytags-3466f613e926645ac6fd6474cf0404adc416477b.tar.gz
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.
Diffstat (limited to 'complete.vim')
0 files changed, 0 insertions, 0 deletions