aboutsummaryrefslogtreecommitdiff
path: root/init.el
diff options
context:
space:
mode:
authorMountain Man <43313373+MountainMan1312@users.noreply.github.com>2023-05-20 23:50:29 -0400
committerMountain Man <43313373+MountainMan1312@users.noreply.github.com>2023-05-20 23:50:29 -0400
commit87b737675f5436a2e15bde9afdd00fdc1ba170ba (patch)
tree1356d4e49e6ffd2f59b0203ea387e3928504d66a /init.el
parentStop starting Emacs server in the init file (diff)
downloadmmosmacs-87b737675f5436a2e15bde9afdd00fdc1ba170ba.tar.gz
mmosmacs-87b737675f5436a2e15bde9afdd00fdc1ba170ba.tar.bz2
mmosmacs-87b737675f5436a2e15bde9afdd00fdc1ba170ba.zip
Show fringe and add `diff-hl`
Diffstat (limited to 'init.el')
-rw-r--r--init.el15
1 files changed, 14 insertions, 1 deletions
diff --git a/init.el b/init.el
index 0548b84..bc64453 100644
--- a/init.el
+++ b/init.el
@@ -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;; ---------------------------------------------------------------------