On Apr 23, 1:23 pm, "A.Politz" <[EMAIL PROTECTED]> wrote:
> Gary Johnson wrote:
> > On 2008-04-23, fritzophrenic <[EMAIL PROTECTED]> wrote:
>
> >>On Apr 17, 1:12 pm, fritzophrenic <[EMAIL PROTECTED]> wrote:
>
> >>>See the vim_use 
> >>>thread:http://groups.google.com/group/vim_use/browse_thread/thread/863a0ce08...
>
> >>>It seems that a nested first line only comment will incorrectly
> >>>prepend the comment leader on the next line if it occurs in the middle
> >>>of a multiline comment or in a single-line comment.
>
> > [...]
>
> >>Any comments on this? I'm pretty sure it is a bug, but if it isn't,
> >>I'd certainly like to know why!
>
> > As I said in the vim_use thread, from my experiments at the time I
> > think it's a bug, but I haven't looked at it further and I would
> > like someone else's take on it.
>
> Maybe this is the defined behaviour, but only the help is not very clear 
> about it?
>
> "  n       Nested comment.  Nesting with mixed parts is allowed.  If 
> 'comments'
>         is "n:),n:>" a line starting with "> ) >" is a comment."
>
> -ap

Right, so the above creates a single-line comment from two single-line
comment headers. The observed behavior makes sense for single-line
comments, but I still fail to see why the behavior occurs in multi-
line comments, especially because it depends on which line of the
multi-line comment you enter text on.
--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_dev" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---

Raspunde prin e-mail lui