]> git.pld-linux.org Git - packages/vim.git/blame - 6.2.020
- initial import
[packages/vim.git] / 6.2.020
CommitLineData
47612863
AF
1To: vim-dev@vim.org
2Subject: Patch 6.2.020
3Fcc: outbox
4From: Bram Moolenaar <Bram@moolenaar.net>
5Mime-Version: 1.0
6Content-Type: text/plain; charset=ISO-8859-1
7Content-Transfer-Encoding: 8bit
8------------
9
10Patch 6.2.020
11Problem: The "Syntax/Set syntax only" menu item causes an error message.
12 (Oyvind Holm)
13Solution: Set the script-local variable in a function. (Benji Fisher)
14Files: runtime/synmenu.vim
15
16
17*** ../vim-6.2.019/runtime/synmenu.vim Sun Jun 1 16:15:47 2003
18--- runtime/synmenu.vim Sun Jun 22 15:41:42 2003
19***************
20*** 2,8 ****
21 " This file is normally sourced from menu.vim.
22 "
23 " Maintainer: Bram Moolenaar <Bram@vim.org>
24! " Last Change: 2002 Oct 01
25
26 " Define the SetSyn function, used for the Syntax menu entries.
27 " Set 'filetype' and also 'syntax' if it is manually selected.
28--- 2,8 ----
29 " This file is normally sourced from menu.vim.
30 "
31 " Maintainer: Bram Moolenaar <Bram@vim.org>
32! " Last Change: 2003 Jun 22
33
34 " Define the SetSyn function, used for the Syntax menu entries.
35 " Set 'filetype' and also 'syntax' if it is manually selected.
36***************
37*** 404,410 ****
38
39 an 50.195 &Syntax.-SEP1- <Nop>
40
41! an 50.200 &Syntax.Set\ '&syntax'\ only :let s:syntax_menu_synonly=1<CR>
42 an <silent> 50.202 &Syntax.Set\ '&filetype'\ too :call <SID>Nosynonly()<CR>
43 fun! s:Nosynonly()
44 if exists("s:syntax_menu_synonly")
45--- 404,413 ----
46
47 an 50.195 &Syntax.-SEP1- <Nop>
48
49! an <silent> 50.200 &Syntax.Set\ '&syntax'\ only :call <SID>Setsynonly()<CR>
50! fun! s:Setsynonly()
51! let s:syntax_menu_synonly = 1
52! endfun
53 an <silent> 50.202 &Syntax.Set\ '&filetype'\ too :call <SID>Nosynonly()<CR>
54 fun! s:Nosynonly()
55 if exists("s:syntax_menu_synonly")
56*** ../vim-6.2.019/src/version.c Sat Jul 5 19:11:14 2003
57--- src/version.c Sat Jul 5 19:13:07 2003
58***************
59*** 632,633 ****
60--- 632,635 ----
61 { /* Add new patch number below this line */
62+ /**/
63+ 20,
64 /**/
65
66--
67ARTHUR: Be quiet!
68DENNIS: --but by a two-thirds majority in the case of more--
69ARTHUR: Be quiet! I order you to be quiet!
70WOMAN: Order, eh -- who does he think he is?
71ARTHUR: I am your king!
72 The Quest for the Holy Grail (Monty Python)
73
74 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
75/// Creator of Vim - Vi IMproved -- http://www.Vim.org \\\
76\\\ Project leader for A-A-P -- http://www.A-A-P.org ///
77 \\\ Help AIDS victims, buy here: http://ICCF-Holland.org/click1.html ///
This page took 0.038233 seconds and 4 git commands to generate.