[SVN] Re: Indentation issues (Allan Odgaard)

Allan Odgaard mailinglist at textmate.org
Thu Mar 22 03:53:13 UTC 2012


On 22/03/2012, at 07.11, Paulo Moura wrote:

>> […] Can you provide a complete Logtalk example?
> 
> A typical code example, valid for both Logtalk and Prolog:
> 
> 	append([], []).
> 	append([List| Lists], Concatenation) :-
> 		append(List, Tail, Concatenation),
> 		append(Lists, Tail).

First line here would be matched by the requested “decrease indent” pattern, yet it should _not_ decrease indent.

So I think introducing such pattern is not enough to get your desired indent behavior.

>> The new auto-correction behavior can be disabled, see http://wiki.macromates.com/FAQ/TextMate2
> Thanks for the FAQ. It would be nice if the solution for disabling the auto correction behavior would be syntactically valid (even if not operative) for TM 1.x (so that the same language bundle could work on both TM 1.x and TM 2.x), however.

It is.



More information about the textmate-dev mailing list