Alvaro Herrera <alvhe...@commandprompt.com> writes: > Well, the rule here is simple too (set cinoptions=(0 if you're > Vim-enabled). It's only function prototypes that are a bit weird, and > once you understand how it works it's trivial to reproduce.
Yeah. What I normally do if I'm actually trying to reproduce pgindent's handling of a prototype is: static int foo(int ..., bool ...); * temporarily break the line: static int foo(int ..., bool ...); * indent continuation lines to match (in Emacs this just means pressing tab on each line): static int foo(int ..., bool ...); * rejoin the first line static int foo(int ..., bool ...); It's a couple more keystrokes than letting Emacs do what it would like, but not exactly hard. regards, tom lane -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers