Yasuhiro Matsumoto wrote:

> When cpoptions+=$, '$' is not shown at column 1.
> 
> vim -u NONE
> :set cpoptions+=$
> afoo<ESC>0cl
> 
> Expected: $oo
> But: oo
> 
> The variable dollar_vcol stored virtual column to display '$'. And it don't 
> work when 0.
> This is intended behavior to undisplay '$'. But the zero is possible value 
> for column.
> 
> Below is a patch. This patch change the special value '0' to '-1'.
> 
> Please check and include.
> This patch is written by Hideki EIRAKU and Hirohito Higashi.

Thanks, I'll add it to the todo list.

-- 
Everybody wants to go to heaven, but nobody wants to die.

 /// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net   \\\
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\  an exciting new programming language -- http://www.Zimbu.org        ///
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///

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