Skip to content

Commit 490ce33

Browse files
committed
removing autocmd for number
Signed-off-by: Chris Pecunies <chris@pecunies.com>
1 parent 9e63ee4 commit 490ce33

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

.luarc.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
"after_each",
99
"clear",
1010
"assert",
11+
"vim",
1112
"print"
1213
],
1314
"diagnostics.disable": [

index.md

Whitespace-only changes.

lua/down/mod/ui/init.lua

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ Ui.new_split = function(name, config, height)
111111
vim.api.nvim_win_set_option(0, 'list', false)
112112
vim.api.nvim_win_set_option(0, 'colorcolumn', '')
113113
vim.api.nvim_win_set_option(0, 'number', false)
114-
vim.api.nvim_win_set_option(0, 'relativenumber', false)
114+
-- vim.api.nvim_win_set_option(0, 'relativenumber', false)
115115
vim.api.nvim_win_set_option(0, 'signcolumn', 'no')
116116

117117
-- Uierge the user provided options with the base options and apply them to the new buffer
@@ -162,8 +162,8 @@ Ui.new_vsplit = function(name, enter, buf_config, win_config)
162162
}
163163
win_options = vim.tbl_deep_extend('keep', win_options, win_config)
164164
local window = vim.api.nvim_open_win(buf, enter, win_options)
165-
vim.api.nvim_set_option_value('number', false, { win = window })
166-
vim.api.nvim_set_option_value('relativenumber', false, { win = window })
165+
-- vim.api.nvim_set_option_value('number', false, { win = window })
166+
-- vim.api.nvim_set_option_value('relativenumber', false, { win = window })
167167
Ui.apply_buffer_options(buf, vim.tbl_extend('keep', buf_config or {}, base_options))
168168
vim.api.nvim_create_autocmd({ 'BufDelete', 'WinClosed' }, {
169169
buffer = buf,

0 commit comments

Comments
 (0)