On Sat, Aug 27, 2011 at 9:57 AM, Sergey Khorev <[email protected]>wrote:

> > I'm grateful to you for helping me solve this. Many thanks.
> > I would offer the following comment, though.
>
> Glad this helped you. Speaking of Vim documentation, I should tell it
> is one of the best in the industry...


I don't deny that a *lot* of effort went into documenting vim. But that
doesn't mean it can't be improved.


> well, if you studied user manual
> first and reviewed default vimrc in the distribution.


Over time, I've done all that. I've used vim off and on for about a year
now.


> Plus one of Vim
> points is to be as much vi-compatible as possible.
> I assume syntax is off because not all people like Christmas tree-like
> highlighliting and it may slow down editing large files.
>

I said as much in my previous message: "highlighting ought to work correctly
without turning full syntax coloring on, which I'm guessing most would not
want on by default" (there was a typo in that phrase -- I typed 'more' when
I meant 'most').

The more I think about this, the more convinced I am that there is an
obvious bug here: without syntax on, paren highlighting is on but does does
not work correctly in the case I've cited (though % does). For some reason,
turning syntax on corrects this, but it shouldn't be necessary; highlighting
ought to work correctly without it (and I may very well want highlighting
without the "Christmas tree" effect you aptly described above). So I don't
think this is so much a documentation issue as it is simply a bug in the
code.

/Don



>
> --
> Sergey Khorev
> http://sites.google.com/site/khorser
> Can anybody think of a good tagline I can steal?
>
> --
> 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
>

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