From 94b692892e646970fd8e9fb66a55513b9f23a910 Mon Sep 17 00:00:00 2001 From: Tom Ryder Date: Sun, 5 Nov 2017 15:38:38 +1300 Subject: Don't report lines deleted after stripping space Prepend the line :delete command with a :silent to stop it reporting the number of lines it removed. --- vim/plugin/strip_trailing_whitespace.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vim/plugin/strip_trailing_whitespace.vim b/vim/plugin/strip_trailing_whitespace.vim index 9a9d3d95..ceeaec7c 100644 --- a/vim/plugin/strip_trailing_whitespace.vim +++ b/vim/plugin/strip_trailing_whitespace.vim @@ -54,7 +54,7 @@ function! s:StripTrailingWhitespace() let l:cc = col('.') " Delete the lines, which will move the cursor - execute l:lw + 1 . ',$ delete' + silent execute l:lw + 1 . ',$ delete' " Return the cursor to the saved position call cursor(l:lc, l:cc) -- cgit v1.2.3 From 16ed033f9f11eb857267314bf01b7f436721860c Mon Sep 17 00:00:00 2001 From: Tom Ryder Date: Sun, 5 Nov 2017 15:50:55 +1300 Subject: Bump version number to 0.9.1 --- VERSION | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/VERSION b/VERSION index ce102cf1..bd0a99d4 100644 --- a/VERSION +++ b/VERSION @@ -1,2 +1,2 @@ -tejr dotfiles v0.9.0 -Sun Nov 5 02:13:08 UTC 2017 +tejr dotfiles v0.9.1 +Sun Nov 5 02:50:48 UTC 2017 -- cgit v1.2.3 From 7a6dff3c000096e414adb11ca2a66315a827ede8 Mon Sep 17 00:00:00 2001 From: Tom Ryder Date: Sun, 5 Nov 2017 15:51:06 +1300 Subject: Put missing exclamation mark back into shell check Looks like this was mistakenly omitted in commit 09f8635. --- vim/ftplugin/sh.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vim/ftplugin/sh.vim b/vim/ftplugin/sh.vim index d13f34da..8990f0fa 100644 --- a/vim/ftplugin/sh.vim +++ b/vim/ftplugin/sh.vim @@ -39,7 +39,7 @@ nnoremap " Map linter based on shell family if exists('b:is_bash') && b:is_bash - let b:lint = 'write shellcheck -s bash -' + let b:lint = 'write !shellcheck -s bash -' elseif exists('b:is_ksh') && b:is_ksh let b:lint = 'write !shellcheck -s ksh -' else -- cgit v1.2.3