This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: vim-7.3.943-1 missing command 'let g:colors_name = "elflord"' found in vim-common-7.3.943-1
- From: Gary Johnson <garyjohn at spocom dot com>
- To: cygwin at cygwin dot com
- Date: Fri, 17 May 2013 00:06:20 -0700
- Subject: Re: vim-7.3.943-1 missing command 'let g:colors_name = "elflord"' found in vim-common-7.3.943-1
- References: <1368733719 dot 30936 dot YahooMailClassic at web162702 dot mail dot bf1 dot yahoo dot com>
On 2013-05-16, Kenneth Salerno wrote:
> Where: vim-7.3.943-1
>
> Issue: vim-common-7.3.943-1 contains
> /usr/share/vim/vim73/colors/elflord.vim which utilizes the command
> "let g:colors_name = "elflord", this command is not found in
> /usr/bin/vim-nox from package vim-7.3.943-1
>
> Fix: downgrade to vim-7.3.762-1
>
> Details:
>
> kens@thinkpad$ cygcheck -f /usr/bin/vim-nox.exe
> vim-7.3.943-1
>
> kens@thinkpad$ vi
> Error detected while processing /home/kens/.exrc:
> line 1:
> E319: Sorry, the command is not available in this version: :syntax on
> Error detected while processing /usr/share/vim/vim73/colors/elflord.vim:
> line 12:
> E319: Sorry, the command is not available in this version: let g:colors_name = "elflord"
> Press ENTER or type command to continue
>
> [DOWNGRADE TO VIM-7.3.762-1]
> kens@thinkpad$ cygcheck -f /usr/bin/vim-nox.exe
> vim-7.3.762-1
>
> kens@thinkpad$ vi
> ~
> ~
> :colorscheme
> elflord
This is not a bug. See Yaakov's announcement in the list on May 12,
"[ANNOUNCEMENT] Updated: vim-7.3.943-1". He explains that the
packaging scheme has been changed and that /usr/bin/vi is now Vim
compiled with the "small" feature set. The "small" feature set does
not include the +syntax or +eval feature and does not support either
the :syntax or :let command.
If you want to use those commands, run vim and not vi, or alias vi
to vim. If you want to use the "small" vi, you'll have to adjust
your ~/.vimrc to avoid using commands that are not supported. See
:help no-eval-feature
Regards,
Gary
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple