[SCM] Vim packaging branch, deb/runtime, updated. upstream/7.2.000-117-g850e7ac
James Vega
jamessan at debian.org
Mon Sep 1 17:43:44 UTC 2008
The following commit has been merged in the deb/runtime branch:
commit 850e7ac8ebd325a25eaff5fb2a4e8f21edf7172e
Merge: 7ea56d6245f22045b3f1488c125b54201f837509 6aced65dcbc2ce879f2cca460dd144346cc1d4a5
Author: James Vega <jamessan at debian.org>
Date: Mon Sep 1 13:38:53 2008 -0400
Merge branch 'upstream-runtime' into deb/runtime
diff --combined runtime/scripts.vim
index a54b8fb,d20ab09..aed27cd
--- a/runtime/scripts.vim
+++ b/runtime/scripts.vim
@@@ -234,6 -234,10 +234,10 @@@ els
elseif s:line1 =~ '\<DTD\s\+XHTML\s'
set ft=xhtml
+ " HTML (e.g.: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN")
+ elseif s:line1 =~? '\<DOCTYPE\s\+html\>'
+ set ft=html
+
" PDF
elseif s:line1 =~ '^%PDF-'
set ft=pdf
@@@ -313,14 -317,6 +317,14 @@@
elseif s:line1 =~ 'exec\s\+\S*scheme' || s:line2 =~ 'exec\s\+\S*scheme'
set ft=scheme
+ " rst files
+ elseif s:line1 =~ '^\.\.\s\|^\s*restindex\s*$'
+ \ || s:line2 =~ '^\.\.\s\|^\s*restindex\s*$'
+ \ || s:line3 =~ '^\.\.\s\|^\s*restindex\s*$'
+ \ || s:line4 =~ '^\.\.\s\|^\s*restindex\s*$'
+ \ || s:line5 =~ '^\.\.\s\|^\s*restindex\s*$'
+ set ft=rst
+
" Git output
elseif s:line1 =~ '^\(commit\|tree\|object\) \x\{40\}$\|^tag \S\+$'
set ft=git
--
Vim packaging
More information about the pkg-vim-maintainers
mailing list