[TxMt] Re: How do I vary the C indentation?
Allan Odgaard
mailinglist at textmate.org
Sun Oct 26 03:04:31 UTC 2008
On 26 Oct 2008, at 02:48, Mikael Høilund wrote:
> [...]
> I'd also like to see this, as I think this would enable me to let this
> auto-indent:
>
> class Foo
> def bar; end
> private
> def baz; end
> end
I think that is already possible. You want to match ‘private’ in both
the decrease and increase indent patterns. At least a similar
construct in C++ indents as expected:
struct Foo
{
Foo ();
private:
void bar ();
};
More information about the textmate
mailing list