summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--emacs/.emacs.d/main.el6
1 files changed, 6 insertions, 0 deletions
diff --git a/emacs/.emacs.d/main.el b/emacs/.emacs.d/main.el
index 421f74a8..0bb2e82c 100644
--- a/emacs/.emacs.d/main.el
+++ b/emacs/.emacs.d/main.el
@@ -900,6 +900,12 @@
 (if (boundp 'ns-pop-up-frames)
     (setq ns-pop-up-frames nil))
 
+(when (version<= "26.0" emacs-version)
+  (use-package display-line-numbers
+    :config (progn
+              (setq display-line-numbers-type 'visual)
+              (global-display-line-numbers-mode +1))))
+
 ;;;;; eyebrowse
 
 ;; Workspaces, a bit like dwm.  On Windows and Linux (at least the WMs