add bracket autocompletion