vim syntax file misses some valid -complete= options
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
Re: vim syntax file misses some valid -complete= options
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 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
Re: vim syntax file misses some valid -complete= options
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. Regards, Chip Campbell -- Regards, Thilo 4096R/0xC70B1A8F 721B 1BA0 095C 1ABA 3FC6 7C18 89A4 A2A0 C70B 1A8F -- 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
Re: vim syntax file misses some valid -complete= options
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
Re: vim syntax file misses some valid -complete= options
Hello Charles, Excerpt from Charles Campbell: -- snip -- I agree - v7.3-15 is now released with this fixed. Thanks. Regards, Chip Campbell -- Regards, Thilo 4096R/0xC70B1A8F 721B 1BA0 095C 1ABA 3FC6 7C18 89A4 A2A0 C70B 1A8F -- 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