Add config for git-gutter and git-gutter-fringe

This commit is contained in:
Adam Goldsmith 2022-02-18 01:18:24 -05:00
parent be5ef48f3a
commit fdc90c4a6c

View File

@ -1059,6 +1059,16 @@
:config :config
(setq rustic-format-on-save t)) (setq rustic-format-on-save t))
(use-package git-gutter :demand :if (package-installed-p 'git-gutter)
:delight
:config
(global-git-gutter-mode t)
(use-package git-gutter-fringe :ensure :demand
:config
(define-fringe-bitmap 'git-gutter-fr:added [224] nil nil '(center repeated))
(define-fringe-bitmap 'git-gutter-fr:modified [224] nil nil '(center repeated))
(define-fringe-bitmap 'git-gutter-fr:deleted [224] nil nil '(center repeated))))
;;; Local Variables ;;; Local Variables
(add-to-list 'safe-local-eval-forms '(outline-hide-body)) (add-to-list 'safe-local-eval-forms '(outline-hide-body))
;; Local Variables: ;; Local Variables: