Auto-complete curly braces