diff options
-rw-r--r-- | init.el | 15 |
1 files changed, 14 insertions, 1 deletions
@@ -117,7 +117,7 @@ | |||
117 | (tool-bar-mode -1) | 117 | (tool-bar-mode -1) |
118 | (tooltip-mode -1) | 118 | (tooltip-mode -1) |
119 | (menu-bar-mode -1) | 119 | (menu-bar-mode -1) |
120 | (set-fringe-mode -1) | 120 | (set-fringe-mode 5) |
121 | (setq ring-bell-function 'ignore) | 121 | (setq ring-bell-function 'ignore) |
122 | (setq use-dialog-box nil | 122 | (setq use-dialog-box nil |
123 | inhibit-startup-message t | 123 | inhibit-startup-message t |
@@ -487,6 +487,19 @@ | |||
487 | (magit-display-buffer-function #'magit-display-buffer-same-window-except-diff-v1)) | 487 | (magit-display-buffer-function #'magit-display-buffer-same-window-except-diff-v1)) |
488 | 488 | ||
489 | 489 | ||
490 | ;; --------------------------------- | ||
491 | ;; Highlight diff in fringe | ||
492 | ;; ------------------------ | ||
493 | ;; In buffers for git-controlled | ||
494 | ;; files, highlight changed lines in | ||
495 | ;; the fringe. | ||
496 | ;; --------------------------------- | ||
497 | |||
498 | (use-package diff-hl | ||
499 | :straight t | ||
500 | :config (diff-hl-flydiff-mode)) | ||
501 | |||
502 | |||
490 | 503 | ||
491 | 504 | ||
492 | ;; --------------------------------------------------------------------- | 505 | ;; --------------------------------------------------------------------- |