From a84db978001610a7f6eb3be5b844f3206d081abc Mon Sep 17 00:00:00 2001 From: glepnir Date: Sat, 18 May 2024 20:22:40 +0800 Subject: [PATCH] remove unused option and leave a comment --- lua/indentmini/init.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lua/indentmini/init.lua b/lua/indentmini/init.lua index a5fd632..e058710 100644 --- a/lua/indentmini/init.lua +++ b/lua/indentmini/init.lua @@ -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 @@ -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' },