summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorThomas Voss <mail@thomasvoss.com> 2024-08-09 16:03:55 +0200
committerThomas Voss <mail@thomasvoss.com> 2024-08-09 16:03:55 +0200
commit5694eafaeefbb6fbd5816dfecf765179e49cdea4 (patch)
treed8314191ab68119030cc41d44fba28e08cd0ad47
parent7ae4a05c5f52bd37877553437ad8324e5652bf32 (diff)
Don’t modify the jumplist when formatting
-rw-r--r--.exrc2
1 files changed, 1 insertions, 1 deletions
diff --git a/.exrc b/.exrc
index b4554aa..1460ac2 100644
--- a/.exrc
+++ b/.exrc
@@ -4,7 +4,7 @@ call setenv("TEMPL_EXPERIMENT", "rawgo")
function s:SaveExcursion(cmd)
let l:win = winsaveview()
- silent execute "%!" .. a:cmd
+ silent execute "keepjumps %!" .. a:cmd
call winrestview(l:win)
endfunction