Hi

Attached patch adds completion to the :setfiletype command.
Example:

:setf java<CTRL-D>
java        javacc      javascript

-- Dominique

-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
diff -r 0c8219a26bc9 src/ex_docmd.c
--- a/src/ex_docmd.c	Sat Jul 24 20:57:44 2010 +0200
+++ b/src/ex_docmd.c	Sat Jul 24 23:36:07 2010 +0200
@@ -3829,6 +3829,7 @@
 	    xp->xp_pattern = arg;
 	    break;
 
+	case CMD_setfiletype:
 	case CMD_ownsyntax:
 	    xp->xp_context = EXPAND_FILETYPE;
 	    xp->xp_pattern = arg;

Raspunde prin e-mail lui