summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2008-08-25 03:04:18 +0000
committerBram Moolenaar <Bram@vim.org>2008-08-25 03:04:18 +0000
commit12b87e55bad8a9fb51b48dcf6e0287a5b62450b3 (patch)
treec8b3ffe7e7e485880e72253b84924d6ad85e9014
parent61c4e2cb89476fd114133eadad3f1bf8f2541596 (diff)
downloadvim-git-12b87e55bad8a9fb51b48dcf6e0287a5b62450b3.tar.gz
updated for version 7.2-006v7.2.006
-rw-r--r--runtime/scripts.vim4
-rw-r--r--src/version.c2
2 files changed, 6 insertions, 0 deletions
diff --git a/runtime/scripts.vim b/runtime/scripts.vim
index 62ea472d4..d20ab09ad 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 cf3c6ed96..dc8fab6ec 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,