Auto pairing in latex is managed by smartparens
Flex match for ido mode