runtime(vim): include Vim Syntax generator

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>
This commit is contained in:
h-east
2024-02-13 21:09:22 +01:00
committed by Christian Brabandt
parent e71022082d
commit 9b53c052d5
9 changed files with 1981 additions and 71 deletions

View File

@ -0,0 +1,14 @@
" 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