[TxMt] Re: cursor behaviour, curly brackets and indentation

Allan Odgaard mailinglist at textmate.org
Thu Nov 27 03:17:56 UTC 2014

On 26 Nov 2014, at 3:27, Bas Van Klinkenberg wrote:

> When I write javascript (in a .js file, bundle set to javascript) the 
> behaviour when typing return after a curly bracket is different than 
> when I write a shader (OpenGL bundle chosen) (the difference is the 
> insertion of an extra line before the closing bracket). I see similar 
> differences with indentation and where the cursor ends up after new 
> line between bundles.
> Is this behaviour something I can set or program myself? If so, how?

The grammar needs to add a scope for an empty pair of braces.

More info here 

More information about the textmate mailing list