I've found that vim syntax file (runtime/syntax/vim.vim) doesn't know
about some options of :command -complete=.
For example, it highlights "color" in the line below as an error:
command -nargs=1 -complete=color ...

Please consider updating the list of keywords in it on line 206 to:

augroup buffer color command compiler cscope dir environment event
expression file file_in_path filetype function help highlight locale
mapping menu option shellcmd sign something syntax tag tag_listfiles
var

(new keywords here are from help :command-completion)

-- 
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

Raspunde prin e-mail lui