aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--VERSION4
-rw-r--r--vim/ftplugin/sh.vim2
-rw-r--r--vim/plugin/strip_trailing_whitespace.vim2
3 files changed, 4 insertions, 4 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
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 <buffer> <silent>
" 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
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)