Skip to content

Commit 8317d1e

Browse files
committed
chore: make typesystem happy
1 parent db59035 commit 8317d1e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lua/neorg/modules/core/concealer/module.lua

+1-1
Original file line numberDiff line numberDiff line change
@@ -605,7 +605,7 @@ module.public = {
605605
local render_col_start_0b = config.left == "here" and col_start_0b or 0
606606
local opt_textwidth = vim.bo[bufid].textwidth
607607
local render_col_end_0bex = config.right == "textwidth" and (opt_textwidth > 0 and opt_textwidth or 79)
608-
or vim.api.nvim_win_get_width(vim.fn.bufwinid(bufid))
608+
or vim.api.nvim_win_get_width(assert(vim.fn.bufwinid(bufid)))
609609
local len = math.max(col_end_0bex - col_start_0b, render_col_end_0bex - render_col_start_0b)
610610
set_mark(bufid, row_start_0b, render_col_start_0b, config.icon:rep(len), config.highlight)
611611
end,

0 commit comments

Comments
 (0)