Fix bracket and quotation autocompletion