Skip to content

Commit

Permalink
chore: autoformat with stylua
Browse files Browse the repository at this point in the history
  • Loading branch information
vhyrro authored and github-actions[bot] committed Nov 27, 2023
1 parent 3db316a commit e24a69a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lua/neorg/modules/core/concealer/module.lua
Original file line number Diff line number Diff line change
Expand Up @@ -541,7 +541,8 @@ module.public = {
local row_start_0b, col_start_0b, row_end_0bin, col_end_0bex = node:range()
local render_col_start_0b = config.left == "here" and col_start_0b or 0
local opt_textwidth = vim.bo[bufid].textwidth
local render_col_end_0bex = config.right == "textwidth" and (opt_textwidth>0 and opt_textwidth or 79) or vim.api.nvim_win_get_width(vim.fn.bufwinid(bufid))
local render_col_end_0bex = config.right == "textwidth" and (opt_textwidth > 0 and opt_textwidth or 79)
or vim.api.nvim_win_get_width(vim.fn.bufwinid(bufid))
local len = math.max(col_end_0bex - col_start_0b, render_col_end_0bex - render_col_start_0b)
set_mark(bufid, row_start_0b, render_col_start_0b, config.icon:rep(len), config.highlight)
end,
Expand Down

0 comments on commit e24a69a

Please sign in to comment.