Support smartparens-mode and auto-indent-mode