wish list: 'joinoptions' (was: Formatting and parentheses)
- Piet Delport wrote:
>That would be nice. I'll forward this to vim-dev, and maybe
> On Mon, 01 Oct 2001 at 21:54:25 -0400, Benji Fisher wrote:
> > I do not think that Vim is that smart. It can adjust the
> > indentation. (Use "=" instead of "gq".) It does not actually format
> > code. I do not think there is any way to tell Vim to add a space
> > after "," but not after "(".
> This would be damn nice actually... an extension/generalisation of the
> `joinspaces' option. Thinking out loud, maybe something like a
> `joinoptions' variable, with `comments'-style pairs defining how many
> spaces any given character gets if you join on it.
> Example setting would be something like "2:.,2:?,2:!,0:(".
someone will like the idea enough to implement it. Warning: even if
someone does so, that is no guarantee that it will be included, since
there are many things that "would be nice" that do not get into Vim.