summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorThomas Voss <mail@thomasvoss.com> 2024-08-09 00:53:26 +0200
committerThomas Voss <mail@thomasvoss.com> 2024-08-09 00:53:26 +0200
commitc21e178425de7ef43e7af52f6ee0d11163efa897 (patch)
treef3dc0a5588e4e70b0800da412a4651f82704e223
parent0f3b1051228328718798fe0b40d02fdb72e3481f (diff)
Make SaveExcursion execute silently
-rw-r--r--.exrc2
1 files changed, 1 insertions, 1 deletions
diff --git a/.exrc b/.exrc
index 7af55de..7362931 100644
--- a/.exrc
+++ b/.exrc
@@ -4,7 +4,7 @@ call setenv("TEMPL_EXPERIMENT", "rawgo")
function s:SaveExcursion(cmd)
let l:win = winsaveview()
- execute "%!" .. a:cmd
+ silent execute "%!" .. a:cmd
call winrestview(l:win)
endfunction