                    ("xt" . "text-transpose")
                    ("xw" . "text-words")
                    ("z" . "z")))
-        (let ((key (car x)) 
+        (let ((key (car x))
               (prefix-command (intern (format "%s-prefix" (cdr x)))))
           (define-prefix-command prefix-command)
           (evil-leader/set-key key prefix-command)))

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

               '(:add (spacemacs/smartparens-pair-newline-and-indent "RET")))
      (sp-pair "[" nil :post-handlers
               '(:add (spacemacs/smartparens-pair-newline-and-indent "RET")))

      ;; Don't do terrible things with Github code blocks (```)
      (sp-local-pair 'markdown-mode "`" nil :actions '(:rem autoskip))
      (sp-local-pair 'markdown-mode "'" nil :actions nil))))

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