lkundrak / rpms / vim

Forked from rpms/vim 4 years ago
Clone
c679be0
To: vim_dev@googlegroups.com
c679be0
Subject: Patch 7.3.257
c679be0
Fcc: outbox
c679be0
From: Bram Moolenaar <Bram@moolenaar.net>
c679be0
Mime-Version: 1.0
c679be0
Content-Type: text/plain; charset=UTF-8
c679be0
Content-Transfer-Encoding: 8bit
c679be0
------------
c679be0
c679be0
Patch 7.3.257
c679be0
Problem:    Not all completions are available to user commands.
c679be0
Solution:   Add "color", "compiler", "file_in_path" and "locale". (Dominique
c679be0
	    Pelle)
c679be0
Files:	    src/ex_docmd.c, runtime/doc/map.txt
c679be0
c679be0
c679be0
*** ../vim-7.3.256/src/ex_docmd.c	2011-07-20 15:04:52.000000000 +0200
c679be0
--- src/ex_docmd.c	2011-07-20 16:10:28.000000000 +0200
c679be0
***************
c679be0
*** 5297,5303 ****
c679be0
--- 5297,5305 ----
c679be0
  {
c679be0
      {EXPAND_AUGROUP, "augroup"},
c679be0
      {EXPAND_BUFFERS, "buffer"},
c679be0
+     {EXPAND_COLORS, "color"},
c679be0
      {EXPAND_COMMANDS, "command"},
c679be0
+     {EXPAND_COMPILER, "compiler"},
c679be0
  #if defined(FEAT_CSCOPE)
c679be0
      {EXPAND_CSCOPE, "cscope"},
c679be0
  #endif
c679be0
***************
c679be0
*** 5310,5319 ****
c679be0
--- 5312,5326 ----
c679be0
      {EXPAND_EVENTS, "event"},
c679be0
      {EXPAND_EXPRESSION, "expression"},
c679be0
      {EXPAND_FILES, "file"},
c679be0
+     {EXPAND_FILES_IN_PATH, "file_in_path"},
c679be0
      {EXPAND_FILETYPE, "filetype"},
c679be0
      {EXPAND_FUNCTIONS, "function"},
c679be0
      {EXPAND_HELP, "help"},
c679be0
      {EXPAND_HIGHLIGHT, "highlight"},
c679be0
+ #if (defined(HAVE_LOCALE_H) || defined(X_LOCALE)) \
c679be0
+         && (defined(FEAT_GETTEXT) || defined(FEAT_MBYTE))
c679be0
+     {EXPAND_LOCALES, "locale"},
c679be0
+ #endif
c679be0
      {EXPAND_MAPPINGS, "mapping"},
c679be0
      {EXPAND_MENUS, "menu"},
c679be0
      {EXPAND_OWNSYNTAX, "syntax"},
c679be0
*** ../vim-7.3.256/runtime/doc/map.txt	2011-05-19 17:25:36.000000000 +0200
c679be0
--- runtime/doc/map.txt	2011-07-20 16:10:28.000000000 +0200
c679be0
***************
c679be0
*** 1202,1221 ****
c679be0
--- 1211,1236 ----
c679be0
  
c679be0
  	-complete=augroup	autocmd groups
c679be0
  	-complete=buffer	buffer names
c679be0
+ 	-complete=color		color schemes
c679be0
  	-complete=command	Ex command (and arguments)
c679be0
+ 	-complete=compiler	compilers
c679be0
+ 	-complete=cscope	|:cscope| suboptions
c679be0
  	-complete=dir		directory names
c679be0
  	-complete=environment	environment variable names
c679be0
  	-complete=event		autocommand events
c679be0
  	-complete=expression	Vim expression
c679be0
  	-complete=file		file and directory names
c679be0
+ 	-complete=file_in_path	file and directory names in |'path'|
c679be0
  	-complete=filetype	filetype names |'filetype'|
c679be0
  	-complete=function	function name
c679be0
  	-complete=help		help subjects
c679be0
  	-complete=highlight	highlight groups
c679be0
+ 	-complete=locale	locale names (as output of locale -a)
c679be0
  	-complete=mapping	mapping name
c679be0
  	-complete=menu		menus
c679be0
  	-complete=option	options
c679be0
  	-complete=shellcmd	Shell command
c679be0
+ 	-complete=sign		|:sign| suboptions
c679be0
  	-complete=syntax	syntax file names |'syntax'|
c679be0
  	-complete=tag		tags
c679be0
  	-complete=tag_listfiles	tags, file names are shown when CTRL-D is hit
c679be0
*** ../vim-7.3.256/src/version.c	2011-07-20 15:09:38.000000000 +0200
c679be0
--- src/version.c	2011-07-20 16:30:31.000000000 +0200
c679be0
***************
c679be0
*** 711,712 ****
c679be0
--- 711,714 ----
c679be0
  {   /* Add new patch number below this line */
c679be0
+ /**/
c679be0
+     257,
c679be0
  /**/
c679be0
c679be0
-- 
c679be0
I have to exercise early in the morning before my brain
c679be0
figures out what I'm doing.
c679be0
c679be0
 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
c679be0
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
c679be0
\\\  an exciting new programming language -- http://www.Zimbu.org        ///
c679be0
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///