aboutsummaryrefslogtreecommitdiffstats
path: root/autoload.vim
diff options
context:
space:
mode:
authorPeter Odding <peter@peterodding.com>2010-06-10 21:48:49 +0200
committerPeter Odding <peter@peterodding.com>2010-06-10 21:48:49 +0200
commit766a538283502cb7a2ebca58a6071f8f38c8383c (patch)
tree3f50695d13e8b416532bf3a2c112363b3b4361a5 /autoload.vim
parentd319117aa8392b2605d9bab64d1153827fd29488 (diff)
downloadvim-easytags-766a538283502cb7a2ebca58a6071f8f38c8383c.tar.gz
Remove some more-or-less redundant timer calls
Diffstat (limited to 'autoload.vim')
-rw-r--r--autoload.vim6
1 files changed, 0 insertions, 6 deletions
diff --git a/autoload.vim b/autoload.vim
index ab4856b..95f9db0 100644
--- a/autoload.vim
+++ b/autoload.vim
@@ -6,16 +6,13 @@
function! easytags#autoload() " {{{1
try
" Update the entries for the current file in the global tags file?
- let start = xolox#timer#start()
let pathname = expand('%')
let tags_outdated = getftime(pathname) > getftime(easytags#get_tagsfile())
if tags_outdated || !easytags#file_has_tags(pathname)
UpdateTags
- call xolox#timer#stop(start, "easytags.vim: Automatically updated tags in %s second(s)")
endif
" Apply highlighting of tags in global tags file to current buffer?
if &eventignore !~? '\<syntax\>'
- let start = xolox#timer#start()
if !exists('b:easytags_last_highlighted')
HighlightTags
else
@@ -27,7 +24,6 @@ function! easytags#autoload() " {{{1
endfor
endif
let b:easytags_last_highlighted = localtime()
- call xolox#timer#stop(start, "easytags.vim: Automatically highlighted tags in %s second(s)")
endif
catch
call xolox#warning("easytags.vim: %s (at %s)", v:exception, v:throwpoint)
@@ -45,7 +41,6 @@ function! easytags#update_cmd(filter_invalid_tags) " {{{1
let command = [g:easytags_cmd, '-f', shellescape(tagsfile), '--fields=+l']
if filereadable(tagsfile)
call add(command, '-a')
- let start_filter = xolox#timer#start()
let lines = readfile(tagsfile)
call s:update_tagged_files(lines)
let filters = []
@@ -63,7 +58,6 @@ function! easytags#update_cmd(filter_invalid_tags) " {{{1
throw "Failed to write filtered tags file!"
endif
endif
- call xolox#timer#stop(start_filter, "easytags.vim: Filtered tags file in %s second(s)")
endif
if ft_supported && !ft_ignored
call add(command, '--language-force=' . easytags#to_ctags_ft(&ft))