kakrc: improve auto close tag