Skip to content

Commit

Permalink
optimize
Browse files Browse the repository at this point in the history
  • Loading branch information
glepnir committed May 2, 2024
1 parent 10fad49 commit 585faf4
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 @@ -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)
Expand Down

0 comments on commit 585faf4

Please sign in to comment.