aboutsummaryrefslogtreecommitdiff
path: root/vim/autoload
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2020-05-11 21:18:26 +1200
committerTom Ryder <tom@sanctum.geek.nz>2020-05-11 21:18:26 +1200
commita8caea3a847b2e9f7a780d381d752864444aceeb (patch)
treee2012efab1df50e035f99b274a21de0f053bf9b4 /vim/autoload
parentRemove unneeded <silent> modifiers from maps (diff)
downloaddotfiles-a8caea3a847b2e9f7a780d381d752864444aceeb.tar.gz
dotfiles-a8caea3a847b2e9f7a780d381d752864444aceeb.zip
Use :keepjumps for HTML timestamp update
Diffstat (limited to 'vim/autoload')
-rw-r--r--vim/autoload/html/timestamp.vim2
1 files changed, 1 insertions, 1 deletions
diff --git a/vim/autoload/html/timestamp.vim b/vim/autoload/html/timestamp.vim
index 9de19aa0..6d525afb 100644
--- a/vim/autoload/html/timestamp.vim
+++ b/vim/autoload/html/timestamp.vim
@@ -69,6 +69,6 @@ function! html#timestamp#Update() abort
" Apply the updated timestamp
let line = getline(lnum)
let line = substitute(line, s:pattern, update, '')
- call setline(lnum, line)
+ keepjumps call setline(lnum, line)
endfunction