don't unnecessarily dirty editor
fix a bug typing { at start of line