From d30b6a744d9de88bde1a5d4cddf873c867f5c3d2 Mon Sep 17 00:00:00 2001 From: Tom Ryder Date: Mon, 13 Nov 2017 22:26:07 +1300 Subject: Strip trailing whitespace --- vim/config/plugin.vim | 2 +- vim/plugin/auto_backupdir.vim | 6 +++--- vim/plugin/auto_swapdir.vim | 6 +++--- vim/plugin/auto_undodir.vim | 6 +++--- vim/plugin/mail_mutt.vim | 2 +- 5 files changed, 11 insertions(+), 11 deletions(-) (limited to 'vim') diff --git a/vim/config/plugin.vim b/vim/config/plugin.vim index 934424ed..6e79b255 100644 --- a/vim/config/plugin.vim +++ b/vim/config/plugin.vim @@ -20,7 +20,7 @@ if has('eval') " Vim servers? What is this, Emacs? let g:loaded_rrhelper = 'skipped' - + " System dictionaries plus custom per-machine spell files are fine let g:loaded_spellfile_plugin = 'skipped' diff --git a/vim/plugin/auto_backupdir.vim b/vim/plugin/auto_backupdir.vim index d15c3150..6f5aca97 100644 --- a/vim/plugin/auto_backupdir.vim +++ b/vim/plugin/auto_backupdir.vim @@ -18,7 +18,7 @@ else " This is imperfect in that it will break if you have a backslashed comma in " the first component of your &runtimepath, but if you're doing that, you " probably already have way bigger problems - let s:backupdir + let s:backupdir \ = strpart(&runtimepath, 0, stridx(&runtimepath, ',')) \ . '/backup' endif @@ -33,10 +33,10 @@ if !isdirectory(expand(s:backupdir)) " Failing that, use an OS-dependent command " (Fortunately, Unix and Windows are the only OS types in the world) elseif has('unix') - silent! execute '!mkdir -m 0700 -p ' + silent! execute '!mkdir -m 0700 -p ' \ . shellescape(expand(s:backupdir)) elseif has('win32') || has('win64') - silent! execute '!mkdir ' + silent! execute '!mkdir ' \ . shellescape(expand(s:backupdir)) endif diff --git a/vim/plugin/auto_swapdir.vim b/vim/plugin/auto_swapdir.vim index b5f9ce3a..4fa209c1 100644 --- a/vim/plugin/auto_swapdir.vim +++ b/vim/plugin/auto_swapdir.vim @@ -18,7 +18,7 @@ else " This is imperfect in that it will break if you have a backslashed comma in " the first component of your &runtimepath, but if you're doing that, you " probably already have way bigger problems - let s:swapdir + let s:swapdir \ = strpart(&runtimepath, 0, stridx(&runtimepath, ',')) \ . '/swap' endif @@ -33,10 +33,10 @@ if !isdirectory(expand(s:swapdir)) " Failing that, use an OS-dependent command " (Fortunately, Unix and Windows are the only OS types in the world) elseif has('unix') - silent! execute '!mkdir -m 0700 -p ' + silent! execute '!mkdir -m 0700 -p ' \ . shellescape(expand(s:swapdir)) elseif has('win32') || has('win64') - silent! execute '!mkdir ' + silent! execute '!mkdir ' \ . shellescape(expand(s:swapdir)) endif diff --git a/vim/plugin/auto_undodir.vim b/vim/plugin/auto_undodir.vim index cf8d896a..8e81fde6 100644 --- a/vim/plugin/auto_undodir.vim +++ b/vim/plugin/auto_undodir.vim @@ -21,7 +21,7 @@ else " This is imperfect in that it will break if you have a backslashed comma in " the first component of your &runtimepath, but if you're doing that, you " probably already have way bigger problems - let s:undodir + let s:undodir \ = strpart(&runtimepath, 0, stridx(&runtimepath, ',')) \ . '/undo' endif @@ -36,10 +36,10 @@ if !isdirectory(expand(s:undodir)) " Failing that, use an OS-dependent command " (Fortunately, Unix and Windows are the only OS types in the world) elseif has('unix') - silent! execute '!mkdir -m 0700 -p ' + silent! execute '!mkdir -m 0700 -p ' \ . shellescape(expand(s:undodir)) elseif has('win32') || has('win64') - silent! execute '!mkdir ' + silent! execute '!mkdir ' \ . shellescape(expand(s:undodir)) endif diff --git a/vim/plugin/mail_mutt.vim b/vim/plugin/mail_mutt.vim index 5170fb52..63cae2f6 100644 --- a/vim/plugin/mail_mutt.vim +++ b/vim/plugin/mail_mutt.vim @@ -37,7 +37,7 @@ endfunction " Create a command to wrap around that function command -nargs=0 -range=% - \ MailMutt + \ MailMutt \ call MailMutt(, ) " Mapping to mail current line in normal mode -- cgit v1.2.3