diff --git a/lua/indentmini/init.lua b/lua/indentmini/init.lua index 527fc97..ecf8623 100644 --- a/lua/indentmini/init.lua +++ b/lua/indentmini/init.lua @@ -53,7 +53,7 @@ end local function on_line(_, _, bufnr, row) if - not api.nvim_get_option_value('expandtab', { scope = 'local', buf = bufnr }) + not api.nvim_get_option_value('expandtab', { buf = bufnr }) or vim.tbl_contains(opt.exclude, function(v) return v == vim.bo[bufnr].ft or v == vim.bo[bufnr].buftype end)