Missing cinoption?

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Missing cinoption?

Felipe Contreras
Hello,

The documentation mentions this cino-( default:

  if (c1 && (c2 ||
              c3))

However, with different levels of unclosed parenthesis I get this:

  if (c1 && c2 ||
          c3)

  if (c1 && (c2 ||
              c3))

  if (c1 && ((c2 ||
                  c3)))

That's not what I want. I want whatever option I specify in cino-( to
be applied always, regardless of parenthesis levels.

For example, with "noet ts=8 sw=0 cino=(s", I would expect the following:

  advise(_("The pull was not fast-forward, in the future you will have
to choose.\n"
          "To quell this message you have two main options:\n"

Why can't I tell vim to use a single shiftwidth and a single shiftwidth only?

Cheers.

--
Felipe Contreras

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

---
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/vim_use/CAMP44s3xpC3%3DPQuHxMeHwwxzqWRtWUpvoKot7nE_KWiz%2B9x7SQ%40mail.gmail.com.