Emacs: Invoke git-gutter-mode for textfiles too.
This commit is contained in:
parent
3a95ae6157
commit
343130ce02
|
@ -1,6 +1,6 @@
|
||||||
;;; git.el --- magit and stuff. -*- lexical-binding: t; -*-
|
;;; git.el --- magit and stuff. -*- lexical-binding: t; -*-
|
||||||
|
|
||||||
;; Time-stamp: <2020-04-18T16:15:18+0200>
|
;; Time-stamp: <2020-04-20T00:00:04+0200>
|
||||||
|
|
||||||
;;; Commentary:
|
;;; Commentary:
|
||||||
|
|
||||||
|
@ -68,7 +68,8 @@
|
||||||
;; Show VC status in fringe.
|
;; Show VC status in fringe.
|
||||||
(use-package git-gutter
|
(use-package git-gutter
|
||||||
:bind ("C-c G" . git-gutter:popup-hunk) ; Popup current diff hunk.
|
:bind ("C-c G" . git-gutter:popup-hunk) ; Popup current diff hunk.
|
||||||
:hook (prog-mode . git-gutter-mode))
|
:hook ((prog-mode . git-gutter-mode)
|
||||||
|
(text-mode . git-gutter-mode)))
|
||||||
|
|
||||||
(provide 'programming/git)
|
(provide 'programming/git)
|
||||||
;;; git.el ends here
|
;;; git.el ends here
|
||||||
|
|
Loading…
Reference in New Issue
Block a user