Hi

I'm starting to use the conceal feature recently merged
in the vim73 branch.  I stumbled upon something which
looks like a bug.

The current line is not concealed, which I assume is
expected to be able to edit the line but I can't find the
documentation for the expected behavior. Several motion
commands in normal mode such as  j  k  gg  G  make sure
that the current line is non-concealed.  However, several
other motion commands do not do that:  gj  gk  {  }...
It looks like a bug.

Steps to reproduce:

1) Install the AnsiEsc plugin from:

  $ wget http://mysite.verizon.net/astronaut/vim/vbafiles/AnsiEsc.vba.gz
  $ vim AnsiEsc.vba.gz -c 'so %'

2) Create a minimalistic vimrc file:

  $ echo "set nocp" > vimrc

3) Edit the attached file "colors.txt" with:

  $ vim -u vimrc -c ':AnsiEsc' colors.txt

Observe that Ansi escape sequences in color.txt are
concealed except for the line where cursor is located.

Move the cursor with  for example  j  k   G  gg   in
normal mode and observe that the new current line
is always unconcealed  (good so far).

Try now to move the cursor with other commands such as
gj  gk  {number}%  {  }  and observe that they do not update
the concealed/unconcealed state of the current line.

Is it a bug?  It happens for Vim in terminal and gvim.

I'm using Vim-7.3a huge (2251:8b3203df361f) on Linux x86.

-- Dominique

-- 
You received this message from the "vim_use" 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
Red
Green
Yellow
Blue
Magenta
Cyan
White
Black Background
Red Background
Green Background
Yellow Background
Blue Background
Magenta Background
Cyan Background
White Background

Reply via email to