1

Prevent display-line-numbers from shrinking margin

This commit is contained in:
Jessie Hildebrandt 2023-12-08 08:08:11 -05:00
parent eebf5ead3b
commit 1c16644b57

View File

@ -420,6 +420,7 @@ 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 :custom
(display-line-numbers-grow-only t "Do not decrease the width of the line number column after it has grown")
(display-line-numbers-width-start 100 "Count number of lines (+100) in buffer for initial line number width") (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 ()