From a3a7edae9ca237ca11c9e685a85c3fa82b980d94 Mon Sep 17 00:00:00 2001 From: Bob Hiestand Date: Sat, 5 Dec 2009 16:48:04 -0600 Subject: [PATCH] Removed trailing white space in source. --- plugin/vcscommand.vim | 18 +++++++++--------- plugin/vcscvs.vim | 18 +++++++++--------- plugin/vcssvk.vim | 2 +- plugin/vcssvn.vim | 2 +- 4 files changed, 20 insertions(+), 20 deletions(-) diff --git a/plugin/vcscommand.vim b/plugin/vcscommand.vim index d945feb..98973bd 100644 --- a/plugin/vcscommand.vim +++ b/plugin/vcscommand.vim @@ -92,7 +92,7 @@ " VCS scratch buffers associated with the original file. " " VCSInfo Displays extended information about the current file in a -" new scratch buffer. +" new scratch buffer. " " VCSLock Locks the current file in order to prevent other users from " concurrently modifying it. The exact semantics of this @@ -272,7 +272,7 @@ " mapping to quit a VCS scratch buffer: " " augroup VCSCommand -" au VCSCommand User VCSBufferCreated silent! nmap q :bwipeout +" au VCSCommand User VCSBufferCreated silent! nmap q :bwipeout " augroup END " " The following hooks are available: @@ -350,7 +350,7 @@ unlet! s:vimDiffRestoreCmd " original buffer currently reflected in vimdiff windows unlet! s:vimDiffSourceBuffer -" +" unlet! s:vimDiffScratchList " Section: Utility functions {{{1 @@ -575,7 +575,7 @@ endfunction function! s:MarkOrigBufferForSetup(buffer) checktime - if a:buffer > 0 + if a:buffer > 0 let origBuffer = VCSCommandGetOriginalBuffer(a:buffer) " This should never not work, but I'm paranoid if origBuffer != a:buffer @@ -664,7 +664,7 @@ function! s:VimDiffRestore(vimDiffBuff) endif unlet s:vimDiffRestoreCmd - endif + endif " All buffers are gone. unlet s:vimDiffSourceBuffer unlet s:vimDiffScratchList @@ -766,7 +766,7 @@ endfunction function! s:VCSFinishCommitWithBuffer() setlocal nomodified - let currentBuffer = bufnr('%') + let currentBuffer = bufnr('%') let logMessageList = getbufline('%', 1, '$') call filter(logMessageList, 'v:val !~ ''^\s*VCS:''') let resultBuffer = s:VCSFinishCommit(logMessageList, b:VCSCommandOriginalBuffer) @@ -904,7 +904,7 @@ function! s:VCSVimDiff(...) wincmd W execute 'buffer' originalBuffer " Store info for later original buffer restore - let s:vimDiffRestoreCmd = + let s:vimDiffRestoreCmd = \ 'call setbufvar('.originalBuffer.', ''&diff'', '.getbufvar(originalBuffer, '&diff').')' \ . '|call setbufvar('.originalBuffer.', ''&foldcolumn'', '.getbufvar(originalBuffer, '&foldcolumn').')' \ . '|call setbufvar('.originalBuffer.', ''&foldenable'', '.getbufvar(originalBuffer, '&foldenable').')' @@ -1067,7 +1067,7 @@ function! VCSCommandDoCommand(cmd, cmdName, statusText, options) endif let originalBuffer = VCSCommandGetOriginalBuffer(bufnr('%')) - if originalBuffer == -1 + if originalBuffer == -1 throw 'Original buffer no longer exists, aborting.' endif @@ -1322,7 +1322,7 @@ function! s:CloseAllResultBuffers() let buffnr = 1 let buffmaxnr = bufnr('$') while buffnr <= buffmaxnr - if getbufvar(buffnr, 'VCSCommandOriginalBuffer') != "" + if getbufvar(buffnr, 'VCSCommandOriginalBuffer') != "" execute 'bw' buffnr endif let buffnr = buffnr + 1 diff --git a/plugin/vcscvs.vim b/plugin/vcscvs.vim index a548276..6e6cc6a 100644 --- a/plugin/vcscvs.vim +++ b/plugin/vcscvs.vim @@ -32,23 +32,23 @@ " The following commands only apply to files under CVS source control. " " CVSEdit Performs "cvs edit" on the current file. -" +" " CVSEditors Performs "cvs editors" on the current file. -" +" " CVSUnedit Performs "cvs unedit" on the current file. -" +" " CVSWatch Takes an argument which must be one of [on|off|add|remove]. " Performs "cvs watch" with the given argument on the current " file. -" +" " CVSWatchers Performs "cvs watchers" on the current file. -" +" " CVSWatchAdd Alias for "CVSWatch add" -" +" " CVSWatchOn Alias for "CVSWatch on" -" +" " CVSWatchOff Alias for "CVSWatch off" -" +" " CVSWatchRemove Alias for "CVSWatch remove" " " Mapping documentation: {{{2 @@ -302,7 +302,7 @@ function! s:cvsFunctions.GetBufferInfo() " We can still be in a CVS-controlled directory without this being a CVS " file - if match(revision, '^New file!$') >= 0 + if match(revision, '^New file!$') >= 0 let revision='New' elseif match(revision, '^\d\+\.\d\+\%(\.\d\+\.\d\+\)*$') <0 return ['Unknown'] diff --git a/plugin/vcssvk.vim b/plugin/vcssvk.vim index f79f578..a28cd30 100644 --- a/plugin/vcssvk.vim +++ b/plugin/vcssvk.vim @@ -138,7 +138,7 @@ endfunction " Function: s:svkFunctions.Diff(argList) {{{2 function! s:svkFunctions.Diff(argList) if len(a:argList) == 0 - let revOptions = [] + let revOptions = [] let caption = '' elseif len(a:argList) <= 2 && match(a:argList, '^-') == -1 let revOptions = ['-r' . join(a:argList, ':')] diff --git a/plugin/vcssvn.vim b/plugin/vcssvn.vim index 90d2158..292a81b 100644 --- a/plugin/vcssvn.vim +++ b/plugin/vcssvn.vim @@ -148,7 +148,7 @@ endfunction " Function: s:svnFunctions.Diff(argList) {{{2 function! s:svnFunctions.Diff(argList) if len(a:argList) == 0 - let revOptions = [] + let revOptions = [] let caption = '' elseif len(a:argList) <= 2 && match(a:argList, '^-') == -1 let revOptions = ['-r' . join(a:argList, ':')] -- 2.11.4.GIT