Add config for git-gutter and git-gutter-fringe
This commit is contained in:
parent
be5ef48f3a
commit
fdc90c4a6c
@ -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:
|
||||||
|
Loading…
Reference in New Issue
Block a user