File tree Expand file tree Collapse file tree 2 files changed +6
-3
lines changed Expand file tree Collapse file tree 2 files changed +6
-3
lines changed Original file line number Diff line number Diff line change 4
4
5
5
### New features
6
6
7
- * Enable ` nlinum-mode ` by default. Can be disabled by setting ` prelude-minimalistic-ui ` to ` t ` .
7
+ * Enable ` nlinum-mode ` or ` display-line-numbers-mode ` by default. Can be disabled by setting ` prelude-minimalistic-ui ` to ` t ` .
8
8
* Enable site-wide installation for Prelude.
9
9
* Auto-installs ` julia-mode ` if needed.
10
10
* Auto-install ` adoc-mode ` for AsciiDoc files.
Original file line number Diff line number Diff line change 62
62
; ; show line numbers at the beginning of each line
63
63
(unless prelude-minimalistic-ui
64
64
; ; there's a built-in linum-mode, but we're using
65
- ; ; nlinum-mode, as it's supposedly faster
66
- (global-nlinum-mode t ))
65
+ ; ; display-line-numbers-mode or nlinum-mode,
66
+ ; ; as it's supposedly faster
67
+ (if (fboundp 'global-display-line-numbers-mode )
68
+ (global-display-line-numbers-mode )
69
+ (global-nlinum-mode t )))
67
70
68
71
; ; enable y/n answers
69
72
(fset 'yes-or-no-p 'y-or-n-p )
You can’t perform that action at this time.
0 commit comments