Remove smartparens mdoe by default. Try to add syntax highlighting to latex