home *** CD-ROM | disk | FTP | other *** search
/ vim.ftp.fu-berlin.de / 2015-02-03.vim.ftp.fu-berlin.de.tar / vim.ftp.fu-berlin.de / patches / 6.0.037 < prev    next >
Encoding:
Internet Message Format  |  2001-10-28  |  2.5 KB

  1. To: vim-dev@vim.org
  2. Subject: Patch 6.0.037
  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.0.037
  11. Problem:    When the user has set "did_install_syntax_menu" to avoid the
  12.         default Syntax menu it still appears. (Virgilio)
  13. Solution:   Don't add the three default items when "did_install_syntax_menu"
  14.         is set.
  15. Files:        runtime/menu.vim
  16.  
  17.  
  18. *** ../vim60.36/runtime/menu.vim    Mon Oct 29 15:24:28 2001
  19. --- runtime/menu.vim    Mon Oct 29 21:06:23 2001
  20. ***************
  21. *** 831,850 ****
  22.   endif " !exists("did_install_default_menus")
  23.   
  24.   " Define these items always, so that syntax can be switched on when it wasn't.
  25. ! am 50.212 &Syntax.&Manual        :syn manual<CR>
  26. ! am 50.214 &Syntax.A&utomatic        :syn on<CR>
  27. ! am <silent> 50.216 &Syntax.on/off\ for\ &This\ file :call <SID>SynOnOff()<CR>
  28. ! if !exists("*s:SynOnOff")
  29. !   fun s:SynOnOff()
  30. !     if has("syntax_items")
  31. !       syn clear
  32. !     else
  33. !       if !exists("g:syntax_on")
  34. !     syn manual
  35.         endif
  36. !       set syn=ON
  37. !     endif
  38. !   endfun
  39.   endif
  40.   
  41.   
  42. --- 831,853 ----
  43.   endif " !exists("did_install_default_menus")
  44.   
  45.   " Define these items always, so that syntax can be switched on when it wasn't.
  46. ! " But skip them when the Syntax menu was disabled by the user.
  47. ! if !exists("did_install_syntax_menu")
  48. !   am 50.212 &Syntax.&Manual        :syn manual<CR>
  49. !   am 50.214 &Syntax.A&utomatic        :syn on<CR>
  50. !   am <silent> 50.216 &Syntax.on/off\ for\ &This\ file :call <SID>SynOnOff()<CR>
  51. !   if !exists("*s:SynOnOff")
  52. !     fun s:SynOnOff()
  53. !       if has("syntax_items")
  54. !     syn clear
  55. !       else
  56. !     if !exists("g:syntax_on")
  57. !       syn manual
  58. !     endif
  59. !     set syn=ON
  60.         endif
  61. !     endfun
  62. !   endif
  63.   endif
  64.   
  65.   
  66. *** ../vim60.36/src/version.c    Mon Oct 29 17:19:02 2001
  67. --- src/version.c    Mon Oct 29 21:10:10 2001
  68. ***************
  69. *** 608,609 ****
  70. --- 608,611 ----
  71.   {   /* Add new patch number below this line */
  72. + /**/
  73. +     37,
  74.   /**/
  75.  
  76. -- 
  77.        [Autumn changed into Winter ... Winter changed into Spring ...  Spring
  78.        changed back into Autumn and Autumn gave Winter and Spring a miss and
  79.        went straight on into Summer ...  Until one day ...]
  80.                  "Monty Python and the Holy Grail" PYTHON (MONTY) PICTURES LTD
  81.  
  82.  ///  Bram Moolenaar -- Bram@moolenaar.net -- http://www.moolenaar.net  \\\
  83. (((   Creator of Vim -- http://vim.sf.net -- ftp://ftp.vim.org/pub/vim   )))
  84.  \\\  Help me helping AIDS orphans in Uganda - http://iccf-holland.org  ///
  85.