added stuff for auto closing parens and brackets