diff options
Diffstat (limited to 'vim/plugin')
-rw-r--r-- | vim/plugin/strip_trailing_whitespace.vim | 2 |
1 files changed, 1 insertions, 1 deletions
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) |