]>
Commit | Line | Data |
---|---|---|
d8621708 | 1 | To: vim-dev@vim.org |
2 | Subject: Patch 6.2.032 | |
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 6.2.032 | |
11 | Problem: The lpc filetype is never recognized. (Shizhu Pan) | |
12 | Solution: Check for g:lpc_syntax_for_c instead of the local variable | |
13 | lpc_syntax_for_c. (Benji Fisher) | |
14 | Files: runtime/filetype.vim | |
15 | ||
16 | ||
17 | *** ../vim-6.2.031/runtime/filetype.vim Tue May 27 21:03:50 2003 | |
18 | --- runtime/filetype.vim Wed Jul 23 21:10:15 2003 | |
19 | *************** | |
20 | *** 1,7 **** | |
21 | " Vim support file to detect file types | |
22 | " | |
23 | " Maintainer: Bram Moolenaar <Bram@vim.org> | |
24 | ! " Last Change: 2003 May 27 | |
25 | ||
26 | " Listen very carefully, I will say this only once | |
27 | if exists("did_load_filetypes") | |
28 | --- 1,7 ---- | |
29 | " Vim support file to detect file types | |
30 | " | |
31 | " Maintainer: Bram Moolenaar <Bram@vim.org> | |
32 | ! " Last Change: 2003 Jul 23 | |
33 | ||
34 | " Listen very carefully, I will say this only once | |
35 | if exists("did_load_filetypes") | |
36 | *************** | |
37 | *** 224,230 **** | |
38 | au BufNewFile,BufRead *.c call <SID>FTlpc() | |
39 | ||
40 | fun! <SID>FTlpc() | |
41 | ! if exists("lpc_syntax_for_c") | |
42 | let lnum = 1 | |
43 | while lnum <= 12 | |
44 | if getline(lnum) =~# '^\(//\|inherit\|private\|protected\|nosave\|string\|object\|mapping\|mixed\)' | |
45 | --- 224,230 ---- | |
46 | au BufNewFile,BufRead *.c call <SID>FTlpc() | |
47 | ||
48 | fun! <SID>FTlpc() | |
49 | ! if exists("g:lpc_syntax_for_c") | |
50 | let lnum = 1 | |
51 | while lnum <= 12 | |
52 | if getline(lnum) =~# '^\(//\|inherit\|private\|protected\|nosave\|string\|object\|mapping\|mixed\)' | |
53 | *** ../vim-6.2.031/src/version.c Thu Jul 24 22:20:33 2003 | |
54 | --- src/version.c Fri Jul 25 21:38:37 2003 | |
55 | *************** | |
56 | *** 632,633 **** | |
57 | --- 632,635 ---- | |
58 | { /* Add new patch number below this line */ | |
59 | + /**/ | |
60 | + 32, | |
61 | /**/ | |
62 | ||
63 | -- | |
64 | SECOND SOLDIER: It could be carried by an African swallow! | |
65 | FIRST SOLDIER: Oh yes! An African swallow maybe ... but not a European | |
66 | swallow. that's my point. | |
67 | "Monty Python and the Holy Grail" PYTHON (MONTY) PICTURES LTD | |
68 | ||
69 | /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\ | |
70 | /// Creator of Vim - Vi IMproved -- http://www.Vim.org \\\ | |
71 | \\\ Project leader for A-A-P -- http://www.A-A-P.org /// | |
72 | \\\ Help AIDS victims, buy here: http://ICCF-Holland.org/click1.html /// |