diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2020-05-11 21:18:26 +1200 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2020-05-11 21:18:26 +1200 |
commit | a8caea3a847b2e9f7a780d381d752864444aceeb (patch) | |
tree | e2012efab1df50e035f99b274a21de0f053bf9b4 /vim/autoload | |
parent | Remove unneeded <silent> modifiers from maps (diff) | |
download | dotfiles-a8caea3a847b2e9f7a780d381d752864444aceeb.tar.gz dotfiles-a8caea3a847b2e9f7a780d381d752864444aceeb.zip |
Use :keepjumps for HTML timestamp update
Diffstat (limited to 'vim/autoload')
-rw-r--r-- | vim/autoload/html/timestamp.vim | 2 |
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 |