]>
Commit | Line | Data |
---|---|---|
4c907a04 AG |
1 | To: vim-dev@vim.org |
2 | Subject: Patch 7.2.006 | |
3 | Fcc: outbox | |
4 | From: Bram Moolenaar <Bram@moolenaar.net> | |
5 | Mime-Version: 1.0 | |
6 | Content-Type: text/plain; charset=ISO-8859-1 | |
7 | Content-Transfer-Encoding: 8bit | |
8 | ------------ | |
9 | ||
10 | Patch 7.2.006 | |
11 | Problem: HTML files are not recognized by contents. | |
12 | Solution: Add a rule to the scripts file. (Nico Weber) | |
13 | Files: runtime/scripts.vim | |
14 | ||
15 | ||
16 | *** ../vim-7.2.005/runtime/scripts.vim Sat Aug 9 19:37:09 2008 | |
17 | --- runtime/scripts.vim Sat Aug 16 04:05:34 2008 | |
18 | *************** | |
19 | *** 234,239 **** | |
20 | --- 234,243 ---- | |
21 | elseif s:line1 =~ '\<DTD\s\+XHTML\s' | |
22 | set ft=xhtml | |
23 | ||
24 | + " HTML (e.g.: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN") | |
25 | + elseif s:line1 =~? '\<DOCTYPE\s\+html\>' | |
26 | + set ft=html | |
27 | + | |
28 | ||
29 | elseif s:line1 =~ '^%PDF-' | |
30 | set ft=pdf | |
31 | *** ../vim-7.2.005/src/version.c Mon Aug 25 04:48:21 2008 | |
32 | --- src/version.c Mon Aug 25 05:02:34 2008 | |
33 | *************** | |
34 | *** 678,679 **** | |
35 | --- 678,681 ---- | |
36 | { /* Add new patch number below this line */ | |
37 | + /**/ | |
38 | + 6, | |
39 | /**/ | |
40 | ||
41 | -- | |
42 | Never enter the boss's office unless it's absolutely necessary. Every boss | |
43 | saves one corner of the desk for useless assignments that are doled out like | |
44 | Halloween candy to each visitor. | |
45 | (Scott Adams - The Dilbert principle) | |
46 | ||
47 | /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\ | |
48 | /// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\ | |
49 | \\\ download, build and distribute -- http://www.A-A-P.org /// | |
50 | \\\ help me help AIDS victims -- http://ICCF-Holland.org /// |