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.001 < prev    next >
Encoding:
Internet Message Format  |  2001-09-26  |  3.4 KB

  1. To: vim-dev@vim.org
  2. Subject: Patch 6.0.001
  3. Fcc: outbox
  4. From: Bram Moolenaar <Bram@moolenaar.net>
  5. ------------
  6.  
  7. Patch 6.0.001
  8. Problem:    Loading the sh.vim syntax file causes error messages . (Corinna
  9.         Vinschen)
  10. Solution:   Add an "if". (Charles Campbell)
  11. Files:        runtime/syntax/sh.vim
  12.  
  13.  
  14. *** ../vim60/runtime/syntax/sh.vim    Thu Sep 20 17:29:50 2001
  15. --- runtime/syntax/sh.vim    Thu Sep 27 22:00:30 2001
  16. ***************
  17. *** 2,9 ****
  18.   " Language:        shell (sh) Korn shell (ksh) bash (sh)
  19.   " Maintainer:        Dr. Charles E. Campbell, Jr. <Charles.E.Campbell.1@gsfc.nasa.gov>
  20.   " Previous Maintainer:    Lennart Schultz <Lennart.Schultz@ecmwf.int>
  21. ! " Last Change:    September 18, 2001
  22. ! " Version: 26
  23.   "
  24.   " Using the following VIM variables:
  25.   " b:is_kornshell               if defined, enhance with kornshell syntax
  26. --- 2,9 ----
  27.   " Language:        shell (sh) Korn shell (ksh) bash (sh)
  28.   " Maintainer:        Dr. Charles E. Campbell, Jr. <Charles.E.Campbell.1@gsfc.nasa.gov>
  29.   " Previous Maintainer:    Lennart Schultz <Lennart.Schultz@ecmwf.int>
  30. ! " Last Change:    September 26, 2001
  31. ! " Version: 27
  32.   "
  33.   " Using the following VIM variables:
  34.   " b:is_kornshell               if defined, enhance with kornshell syntax
  35. ***************
  36. *** 318,325 ****
  37.   syn sync match shForSync    groupthere    shFor    "\<in\>"
  38.   syn sync match shIfSync    grouphere    shIf    "\<if\>"
  39.   syn sync match shIfSync    groupthere    shIf    "\<fi\>"
  40. ! syn sync match shUntilSync    grouphere    shRepeat    "\<until\>"
  41. ! syn sync match shWhileSync    grouphere    shRepeat    "\<while\>"
  42.   
  43.   " The default highlighting.
  44.   hi def link shArithRegion        shShellVariables
  45. --- 318,327 ----
  46.   syn sync match shForSync    groupthere    shFor    "\<in\>"
  47.   syn sync match shIfSync    grouphere    shIf    "\<if\>"
  48.   syn sync match shIfSync    groupthere    shIf    "\<fi\>"
  49. ! if exists("b:is_kornshell") || exists("b:is_bash")
  50. !  syn sync match shUntilSync    grouphere    shRepeat    "\<until\>"
  51. !  syn sync match shWhileSync    grouphere    shRepeat    "\<while\>"
  52. ! endif
  53.   
  54.   " The default highlighting.
  55.   hi def link shArithRegion        shShellVariables
  56. ***************
  57. *** 382,388 ****
  58.   hi def link shFunctionName        Function
  59.   hi def link shNumber        Number
  60.   hi def link shOperator        Operator
  61. ! hi def link shRepeat        Repeat
  62.   hi def link shSetList        Identifier
  63.   hi def link shShellVariables        PreProc
  64.   hi def link shSpecial        Special
  65. --- 384,392 ----
  66.   hi def link shFunctionName        Function
  67.   hi def link shNumber        Number
  68.   hi def link shOperator        Operator
  69. ! if exists("b:is_kornshell") || exists("b:is_bash")
  70. !  hi def link shRepeat        Repeat
  71. ! endif
  72.   hi def link shSetList        Identifier
  73.   hi def link shShellVariables        PreProc
  74.   hi def link shSpecial        Special
  75. *** ../vim60/src/version.c    Tue Sep 25 21:43:37 2001
  76. --- src/version.c    Thu Sep 27 22:07:59 2001
  77. ***************
  78. *** 608,609 ****
  79. --- 608,611 ----
  80.   {   /* Add new patch number below this line */
  81. + /**/
  82. +     1,
  83.   /**/
  84.  
  85. -- 
  86. This planet has -- or rather had -- a problem, which was this: most
  87. of the people living on it were unhappy for pretty much of the time.
  88. Many solutions were suggested for this problem, but most of these
  89. were largely concerned with the movements of small green pieces of
  90. paper, which is odd because on the whole it wasn't the small green
  91. pieces of paper that were unhappy.
  92.         -- Douglas Adams, "The Hitchhiker's Guide to the Galaxy"
  93.  
  94.  ///  Bram Moolenaar -- Bram@moolenaar.net -- http://www.moolenaar.net  \\\
  95. (((   Creator of Vim -- http://vim.sf.net -- ftp://ftp.vim.org/pub/vim   )))
  96.  \\\  Help me helping AIDS orphans in Uganda - http://iccf-holland.org  ///
  97.