           magit-gh-pulls
           )))
 
+(if git-gutter-use-fringe
+    (push 'git-gutter-fringe git-packages)
+  (push 'git-gutter git-packages))
+
 (defun git/init-gist ()
   (use-package gist
     :defer t

    :init
    (progn
      (defun git/load-git-gutter ()
        "Lazy load git gutter and choose between fringe and no fringe
implementation."
        (if (display-graphic-p)
            (progn
              (require 'git-gutter-fringe)
              (git-gutter-mode))
          (git-gutter-mode)
          (if global-linum-mode (git-gutter:linum-setup)))
        (spacemacs|hide-lighter git-gutter-mode))
      (add-to-hooks 'git/load-git-gutter '(markdown-mode-hook
                                           org-mode-hook
                                           prog-mode-hook)))

    (spacemacs/activate-evil-leader-for-map 'gist-list-menu-mode-map)
    ))

(defun init-git-gutter ()
  "Common initialization of git-gutter."
  (git-gutter-mode)
  (setq git-gutter:modified-sign " ")
  (setq git-gutter:added-sign "+")
  (setq git-gutter:deleted-sign "-")
  (spacemacs|hide-lighter git-gutter-mode)
  (if (and git-gutter-use-fringe global-linum-mode) (git-gutter:linum-setup)))

(defun git/init-git-gutter ()
  (use-package git-gutter
    :commands git-gutter-mode
    :init
    (progn
      (init-git-gutter)
      (add-to-hooks 'git-gutter-mode '(markdown-mode-hook
                                       org-mode-hook
                                       prog-mode-hook)))))
