 (defun spacemacs/init-ruby-end ()
   (use-package ruby-end
     :defer t
-    :init (add-hook 'ruby-mode-hook 'ruby-end-mode)
     :config (spacemacs//hide-lighter ruby-end-mode)))
 
 (defun spacemacs/init-ruby-mode ()

               '(:add (spacemacs/smartparens-pair-newline-and-indent "RET")))
      (sp-pair "[" nil :post-handlers
               '(:add (spacemacs/smartparens-pair-newline-and-indent "RET")))
      (sp-local-pair 'markdown-mode "'" nil :actions nil)
      (sp-local-pair 'emacs-lisp-mode "'" nil :actions nil))))

(defun spacemacs/init-smeargle ()
  (use-package smeargle

                                        prog-mode-hook)))
    :config
    (progn
      (require 'smartparens-config)
      (spacemacs//diminish smartparens-mode " (Ⓢ)")
      (defun spacemacs/smartparens-pair-newline (id action context)
        (save-excursion
