[TxMt] Tabulation of end tags

Allan Odgaard throw-away-1 at macromates.com
Wed Oct 26 18:20:17 UTC 2005


On 26/10/2005, at 18.53, Andreas Wahlin wrote:

> I really like how tabs get nested perfectly just by pressing tab,  
> the start tag that is, the end tag gets on the same line. Is it  
> possible to enhance the behaviour and have the end tag correctly  
> nested one tab stop less?

Sort of — there's a decreaseIndentPattern which is currently unset  
for HTML. If it was set to a close tag, at least TM would know that  
it should be decreased — currently though, I don't think the tab  
smart indent uses the decreaseIndentPattern (but it should).





More information about the textmate mailing list