On Tue, Jul 20, 2010 at 10:41:27PM -0700, Maxim Kim wrote:
> With the following minimal .vimrc and only builtin plugins I have
> quite a strange behaviour with help on strdisplaywidth() topic.
> 
> .vimrc:
> set nocompatible
> finish
> 
> 
> 1. run gvim
> 2. :filetype plugin on
> 3. :syntax on
> 4. :h strdisplaywidth()
> 5. navigate to strchars() function
> 6. press h several times to reach strwidth() function and l to go
> back.
> 
> The line widens and shrinks.

This is due to the new conceal feature.  The tags in Vim's help files
are surrounded by ||.  When your cursor is on a line with tags, the ||
are displayed but highlighted using the Ignore group so they blend in
with the background.  When your cursor moves off of the line, the ||
are concealed, which completely removes them from display.

See ":help new-conceal" for more information.

-- 
James
GPG Key: 1024D/61326D40 2003-09-02 James Vega <[email protected]>

Attachment: signature.asc
Description: Digital signature

Raspunde prin e-mail lui