Made auto indent and auto completion on {, } and newline (closes any
open strings)