aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2017-11-05 15:52:19 +1300
committerTom Ryder <tom@sanctum.geek.nz>2017-11-05 15:52:19 +1300
commite53801bed6f36486669aef3f4d6fbfb110563a21 (patch)
tree285b00ffe30e6fdfbd4c71dbef904c8743a4c708
parent6e289012d5a9ec4efbc348a03f1199d4f461983f (diff)
parent7a6dff3c000096e414adb11ca2a66315a827ede8 (diff)
downloaddotfiles-e53801bed6f36486669aef3f4d6fbfb110563a21.tar.gz
Merge branch 'hotfix/v0.9.1'v0.9.1
* hotfix/v0.9.1: Put missing exclamation mark back into shell check Bump version number to 0.9.1 Don't report lines deleted after stripping space
-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)