The to-do list includes the following bug:
When entering a C /* comment, after typing <Enter> for 70 times the indent
 disappears. (Vincent Beffara, 2008 Jul 3)


However, from the help for C indenting, the documentation for cinoptions syntax includes:
    *N    Vim searches for unclosed comments at most N lines away.  This
          limits the time needed to search for the start of a comment.
          (default 70 lines).
and something like "set cinoptions=*100" does indeed change the behavior.

Looks like a feature, not a bug!

In fairness to the reporter, the documentation about the default was incorrect until changeset b9e314fe473f.

Regards,
Graeme

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