Karsten Hopp d12698
To: vim-dev@vim.org
Karsten Hopp d12698
Subject: Patch 7.2.006
Karsten Hopp d12698
Fcc: outbox
Karsten Hopp d12698
From: Bram Moolenaar <Bram@moolenaar.net>
Karsten Hopp d12698
Mime-Version: 1.0
Karsten Hopp d12698
Content-Type: text/plain; charset=ISO-8859-1
Karsten Hopp d12698
Content-Transfer-Encoding: 8bit
Karsten Hopp d12698
------------
Karsten Hopp d12698
Karsten Hopp d12698
Patch 7.2.006
Karsten Hopp d12698
Problem:    HTML files are not recognized by contents.
Karsten Hopp d12698
Solution:   Add a rule to the scripts file. (Nico Weber)
Karsten Hopp d12698
Files:      runtime/scripts.vim
Karsten Hopp d12698
Karsten Hopp d12698
Karsten Hopp d12698
*** ../vim-7.2.005/runtime/scripts.vim	Sat Aug  9 19:37:09 2008
Karsten Hopp d12698
--- runtime/scripts.vim	Sat Aug 16 04:05:34 2008
Karsten Hopp d12698
***************
Karsten Hopp d12698
*** 234,239 ****
Karsten Hopp d12698
--- 234,243 ----
Karsten Hopp d12698
    elseif s:line1 =~ '\
Karsten Hopp d12698
      set ft=xhtml
Karsten Hopp d12698
  
Karsten Hopp d12698
+     " HTML (e.g.: 
Karsten Hopp d12698
+   elseif s:line1 =~? '\<DOCTYPE\s\+html\>'
Karsten Hopp d12698
+     set ft=html
Karsten Hopp d12698
+ 
Karsten Hopp d12698
      " PDF
Karsten Hopp d12698
    elseif s:line1 =~ '^%PDF-'
Karsten Hopp d12698
      set ft=pdf
Karsten Hopp d12698
*** ../vim-7.2.005/src/version.c	Mon Aug 25 04:48:21 2008
Karsten Hopp d12698
--- src/version.c	Mon Aug 25 05:02:34 2008
Karsten Hopp d12698
***************
Karsten Hopp d12698
*** 678,679 ****
Karsten Hopp d12698
--- 678,681 ----
Karsten Hopp d12698
  {   /* Add new patch number below this line */
Karsten Hopp d12698
+ /**/
Karsten Hopp d12698
+     6,
Karsten Hopp d12698
  /**/
Karsten Hopp d12698
Karsten Hopp d12698
-- 
Karsten Hopp d12698
Never enter the boss's office unless it's absolutely necessary.  Every boss
Karsten Hopp d12698
saves one corner of the desk for useless assignments that are doled out like
Karsten Hopp d12698
Halloween candy to each visitor.
Karsten Hopp d12698
				(Scott Adams - The Dilbert principle)
Karsten Hopp d12698
Karsten Hopp d12698
 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
Karsten Hopp d12698
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
Karsten Hopp d12698
\\\        download, build and distribute -- http://www.A-A-P.org        ///
Karsten Hopp d12698
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///