diff options
Diffstat (limited to 'vim/autoload/html/timestamp.vim')
-rw-r--r-- | vim/autoload/html/timestamp.vim | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/vim/autoload/html/timestamp.vim b/vim/autoload/html/timestamp.vim index 9de19aa0..8f250710 100644 --- a/vim/autoload/html/timestamp.vim +++ b/vim/autoload/html/timestamp.vim @@ -34,7 +34,7 @@ function! s:Timestamp(time) abort endfunction " Define timestamp prefix string -let s:prefix = '<strong>Last updated:</strong> ' +let s:prefix = 'Last updated: ' " Define pattern to match date timestamps; no ZALGO, please let s:pattern = '\m\C' @@ -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 |