Autoclose single quotes and brackets