Add automatically closed pair symbols