forked from aniani/vim
fixes: #13939 closes: #14021 related: vim-jp/syntax-vim-ex#28 Signed-off-by: h-east <h.east.727@gmail.com> Signed-off-by: Christian Brabandt <cb@256bit.org>
15 lines
300 B
VimL
15 lines
300 B
VimL
" Update the date of following line in vim.vim.rc.
|
|
" '" Last Change: '
|
|
"
|
|
language C
|
|
silent new vim.vim
|
|
normal gg
|
|
let pat = '^"\s*Last\s*Change:\s\+'
|
|
let lnum = search(pat, 'We', 10)
|
|
if lnum > 0
|
|
exec 'norm! lD"=strftime("%b %d, %Y")' . "\rp"
|
|
silent update
|
|
endif
|
|
quitall!
|
|
" vim:ts=4 sw=4 et
|