Sunday, November 3, 2013

Suppress indentation of a continuation line starting with "("

Dear All,

I am looking at setting up these guidelines
http://www.openfoam.org/contrib/code-style.php
into my vim setup using cinoptions. I have made some progress but eventually got stuck with parenthesis on continuation lines. I would like the continuation lines to be indented but not if they start with parenthesis. Is there a way to achieve that in vim? Currently I am not indenting continuation at all i.e.

cino=...,+0,(4,U1,...

as this situation in my code is more common than long lines. I would like to suppress indentation in the same manner as it is done for "{".

Please let me know if this is possible at all.

--
--
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 vim_use+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

No comments: