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 / 7.0 / 7.0.002 < prev    next >
Encoding:
Internet Message Format  |  2006-05-09  |  2.0 KB

  1. To: vim-dev@vim.org
  2. Subject: Patch 7.0.002
  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 7.0.002
  11. Problem:    C omni completion has a problem with tags files with a path
  12.         containing "#" or "%".
  13. Solution:   Escape these characters. (Sebastian Baberowski)
  14. Files:        runtime/autoload/ccomplete.vim
  15.  
  16.  
  17. *** ../vim-7.0.001/runtime/autoload/ccomplete.vim    Wed May 10 15:22:54 2006
  18. --- runtime/autoload/ccomplete.vim    Mon May  8 13:52:07 2006
  19. ***************
  20. *** 1,7 ****
  21.   " Vim completion script
  22.   " Language:    C
  23.   " Maintainer:    Bram Moolenaar <Bram@vim.org>
  24. ! " Last Change:    2006 May 03
  25.   
  26.   
  27.   " This function is used for the 'omnifunc' option.
  28. --- 1,7 ----
  29.   " Vim completion script
  30.   " Language:    C
  31.   " Maintainer:    Bram Moolenaar <Bram@vim.org>
  32. ! " Last Change:    2006 May 08
  33.   
  34.   
  35.   " This function is used for the 'omnifunc' option.
  36. ***************
  37. *** 458,464 ****
  38.   " member.
  39.   function! s:StructMembers(typename, items, all)
  40.     " Todo: What about local structures?
  41. !   let fnames = join(map(tagfiles(), 'escape(v:val, " \\")'))
  42.     if fnames == ''
  43.       return []
  44.     endif
  45. --- 458,464 ----
  46.   " member.
  47.   function! s:StructMembers(typename, items, all)
  48.     " Todo: What about local structures?
  49. !   let fnames = join(map(tagfiles(), 'escape(v:val, " \\#%")'))
  50.     if fnames == ''
  51.       return []
  52.     endif
  53. *** ../vim-7.0.001/src/version.c    Wed May 10 15:22:50 2006
  54. --- src/version.c    Wed May 10 15:24:42 2006
  55. ***************
  56. *** 668,669 ****
  57. --- 668,671 ----
  58.   {   /* Add new patch number below this line */
  59. + /**/
  60. +     2,
  61.   /**/
  62.  
  63. -- 
  64. From "know your smileys":
  65.  =):-)    Uncle Sam
  66.  
  67.  /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
  68. ///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
  69. \\\        download, build and distribute -- http://www.A-A-P.org        ///
  70.  \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///
  71.