Hi list,
I'm source diving to find out why :noautocmd arguments don't support
completion (no luck so far ;-) and noticed that the documented values
for :command -complete=... don't include 'cscope' and 'sign'. That's
probably because these values both complete suboptions to internal Vim
commands, however they really are supported for user defined commands so
maybe they should be mentioned in the documentation. Attached is a patch
to runtime/doc/map.txt.
- Peter Odding
PS. With my proposed patch map.txt doesn't mention that these values
depend on Vim's +feature-list because that already wasn't done for
-complete=custom and -complete=customlist which depend on FEAT_EVAL and
FEAT_CMDL_COMPL.
--
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 fde086181841 runtime/doc/map.txt
--- a/runtime/doc/map.txt Mon Aug 16 22:34:29 2010 +0200
+++ b/runtime/doc/map.txt Thu Aug 19 11:30:00 2010 +0200
@@ -1203,6 +1203,7 @@
-complete=augroup autocmd groups
-complete=buffer buffer names
-complete=command Ex command (and arguments)
+ -complete=cscope |:cscope| suboptions
-complete=dir directory names
-complete=environment environment variable names
-complete=event autocommand events
@@ -1216,6 +1217,7 @@
-complete=menu menus
-complete=option options
-complete=shellcmd Shell command
+ -complete=sign |:sign| suboptions
-complete=syntax syntax file names |'syntax'|
-complete=tag tags
-complete=tag_listfiles tags, file names are shown when CTRL-D is hit