aboutsummaryrefslogtreecommitdiff
path: root/vim/autoload/filter.vim
diff options
context:
space:
mode:
Diffstat (limited to 'vim/autoload/filter.vim')
-rw-r--r--vim/autoload/filter.vim2
1 files changed, 1 insertions, 1 deletions
diff --git a/vim/autoload/filter.vim b/vim/autoload/filter.vim
index f499f432..0a39f23a 100644
--- a/vim/autoload/filter.vim
+++ b/vim/autoload/filter.vim
@@ -2,6 +2,6 @@
" restore it after doing so
function! filter#Stable(command) abort
let l:view = winsaveview()
- execute '%' . a:command
+ execute '%!' . a:command
call winrestview(l:view)
endfunction