From 946d2c2901b669a8b24f23d379e2d412e3171087 Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Sat, 21 Jul 2018 13:37:16 +0200 Subject: Emacs: Enabled display-line-numbers mode, if available --- emacs/.emacs.d/main.el | 6 ++++++ 1 file changed, 6 insertions(+) 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 -- cgit 1.4.1