replace flex-autopair and ruby-end to smartparens