Thilo Six wrote:
Hello Charles,


Excerpt from Charles Campbell:

Ivan Krasilnikov wrote:
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)

They're new all right -- they don't appear in vim 7.3's distribution,
but are due to updates/patches/etc.

You'll find the latest syntax/vim.vim on my website under:
http://www.drchip.org/astronaut/vim/index.html#vimlinks_syntax
The line 'syn keyword       vimUserAttrbCmplt contained....' is contained twice.
After checking i think the first one is obsolet.
I agree - v7.3-15 is now released with this fixed.

Regards,
Chip Campbell

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