4 From: Bram Moolenaar <Bram@moolenaar.net>
6 Content-Type: text/plain; charset=ISO-8859-1
7 Content-Transfer-Encoding: 8bit
11 Problem: ":syn include" only loads the first file, while it is documented
12 as doing the equivalent of ":runtime!".
13 Solution: Change the argument to source_runtime(). (James Vega)
17 *** ../vim-7.1.012/src/syntax.c Thu May 10 20:54:33 2007
18 --- src/syntax.c Sun Jun 17 22:03:30 2007
21 current_syn_inc_tag = ++running_syn_inc_tag;
22 prev_toplvl_grp = curbuf->b_syn_topgrp;
23 curbuf->b_syn_topgrp = sgl_id;
24 ! if (source ? do_source(eap->arg, FALSE, FALSE) == FAIL
25 ! : source_runtime(eap->arg, DOSO_NONE) == FAIL)
26 EMSG2(_(e_notopen), eap->arg);
27 curbuf->b_syn_topgrp = prev_toplvl_grp;
28 current_syn_inc_tag = prev_syn_inc_tag;
30 current_syn_inc_tag = ++running_syn_inc_tag;
31 prev_toplvl_grp = curbuf->b_syn_topgrp;
32 curbuf->b_syn_topgrp = sgl_id;
33 ! if (source ? do_source(eap->arg, FALSE, DOSO_NONE) == FAIL
34 ! : source_runtime(eap->arg, TRUE) == FAIL)
35 EMSG2(_(e_notopen), eap->arg);
36 curbuf->b_syn_topgrp = prev_toplvl_grp;
37 current_syn_inc_tag = prev_syn_inc_tag;
38 *** ../vim-7.1.012/src/version.c Tue Jun 19 20:56:52 2007
39 --- src/version.c Thu Jun 28 11:58:25 2007
43 { /* Add new patch number below this line */
50 CUSTOMER: Nothing -- here's your nine pence.
51 DEAD PERSON: I'm not dead!
52 MORTICIAN: Here -- he says he's not dead!
55 The Quest for the Holy Grail (Monty Python)
57 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
58 /// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
59 \\\ download, build and distribute -- http://www.A-A-P.org ///
60 \\\ help me help AIDS victims -- http://ICCF-Holland.org ///