Skip to content

Commit 0acd24f

Browse files
FirelightFlagboyCKolkey
authored andcommitted
refactor: Pass disable_{relative_,}line_numbers to commit editor buffer init
Fix #1452
1 parent 685832e commit 0acd24f

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

lua/neogit/buffers/editor/init.lua

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,8 @@ function M:open(kind)
6969
buftype = "",
7070
kind = kind,
7171
modifiable = true,
72+
disable_line_numbers = config.values.disable_line_numbers,
73+
disable_relative_line_numbers = config.values.disable_relative_line_numbers,
7274
status_column = not config.values.disable_signs and "" or nil,
7375
readonly = false,
7476
autocmds = {

0 commit comments

Comments
 (0)