Set the correct fold detector to the highlighter