[SCM] Vim packaging branch, master, updated. debian/7.2.000-3-14-ga98cef7
James Vega
jamessan at debian.org
Sat Sep 27 20:46:31 UTC 2008
The following commit has been merged in the master branch:
commit d09a86e4d16603bda44326140bbbe933ea1c1b94
Author: Bram Moolenaar <Bram at moolenaar.net>
Date: Mon Sep 1 13:38:49 2008 -0400
[7.2.006] HTML files are not recognized by contents
Patch 7.2.006
Problem: HTML files are not recognized by contents.
Solution: Add a rule to the scripts file. (Nico Weber)
diff --git a/runtime/scripts.vim b/runtime/scripts.vim
index a54b8fb..aed27cd 100644
--- a/runtime/scripts.vim
+++ b/runtime/scripts.vim
@@ -234,6 +234,10 @@ else
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
diff --git a/src/version.c b/src/version.c
index cf3c6ed..dc8fab6 100644
--- a/src/version.c
+++ b/src/version.c
@@ -677,6 +677,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
+ 6,
+/**/
5,
/**/
4,
--
Vim packaging
More information about the pkg-vim-maintainers
mailing list