From 96a58d427c36077601dcc0e6f8bde3a5d228d8ee Mon Sep 17 00:00:00 2001 From: gmarik Date: Fri, 5 Aug 2011 16:28:00 -0500 Subject: [PATCH] rename uptodate to todate status - otherwise confusing with updated --- autoload/vundle/installer.vim | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/autoload/vundle/installer.vim b/autoload/vundle/installer.vim index 223b9b5..b76e372 100644 --- a/autoload/vundle/installer.vim +++ b/autoload/vundle/installer.vim @@ -46,7 +46,7 @@ func! s:sign(status) return endif - let markers = {'updated': 'VuUp', 'uptodate': 'VuCu', 'error': 'VuEr', 'active': 'VuAc' } + let markers = {'updated': 'VuUp', 'todate': 'VuCu', 'error': 'VuEr', 'active': 'VuAc' } let marker = markers[a:status] exe ":sign place ".line('.')." line=".line('.')." name=". marker ." buffer=" . bufnr("%") endf @@ -66,7 +66,7 @@ func! vundle#installer#install(bang, name) abort if 'updated' == status echo b.name.' installed' - elseif 'uptodate' == status + elseif 'todate' == status echo b.name.' already installed' elseif 'error' == status echohl Error @@ -127,7 +127,7 @@ endf func! s:sync(bang, bundle) abort let git_dir = expand(a:bundle.path().'/.git/') if isdirectory(git_dir) - if !(a:bang) | return 'uptodate' | endif + if !(a:bang) | return 'todate' | endif let cmd = 'cd '.shellescape(a:bundle.path()).' && git pull' if (has('win32') || has('win64')) @@ -145,7 +145,7 @@ func! s:sync(bang, bundle) abort end if out =~# 'up-to-date' - return 'uptodate' + return 'todate' end return 'updated'