Skip to content

Commit

Permalink
remove unused option and leave a comment
Browse files Browse the repository at this point in the history
  • Loading branch information
glepnir committed May 18, 2024
1 parent 8e37a1f commit a84db97
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lua/indentmini/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,7 @@ local function on_line(_, winid, bufnr, row)
local bot_indent = bot_row >= 0 and indent_fn(bot_row + 1) or 0
indent = math.max(top_indent, bot_indent)
end
--TODO(glepnir): should remove this or before find_row ? duplicated
local reg_srow, reg_erow, cur_inlevel = current_line_range(winid, bufnr, shiftw)
for i = 1, indent - 1, shiftw do
local col = i - 1
Expand Down Expand Up @@ -107,7 +108,6 @@ end
return {
setup = function(conf)
conf = conf or {}
opt.current = conf.current or true
opt.exclude = vim.tbl_extend(
'force',
{ 'dashboard', 'lazy', 'help', 'markdown', 'nofile', 'terminal' },
Expand Down

0 comments on commit a84db97

Please sign in to comment.