Enable width calculation for display-line-numbers
This commit is contained in:
parent
00b175a91b
commit
3628970d14
2
init.el
2
init.el
@ -457,6 +457,8 @@ DOCSTRING is an optional form that is discarded upon expansion."
|
|||||||
|
|
||||||
(editor-feature display-line-numbers
|
(editor-feature display-line-numbers
|
||||||
"Displays the absolute number of each line in a buffer"
|
"Displays the absolute number of each line in a buffer"
|
||||||
|
:custom
|
||||||
|
(display-line-numbers-width-start 100 "Count number of lines (+100) in buffer for initial line number width")
|
||||||
:hook
|
:hook
|
||||||
(prog-mode-hook . (lambda ()
|
(prog-mode-hook . (lambda ()
|
||||||
(unless (derived-mode-p 'lisp-interaction-mode)
|
(unless (derived-mode-p 'lisp-interaction-mode)
|
||||||
|
Loading…
Reference in New Issue
Block a user