Skip to content

Commit

Permalink
fix: wrong step value
Browse files Browse the repository at this point in the history
  • Loading branch information
glepnir committed Aug 27, 2024
1 parent be9996a commit 15ba2c3
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 @@ -203,7 +203,7 @@ local function on_win(_, winid, bufnr, toprow, botrow)
return false
end
context = { snapshot = {} }
context.step = vim.o.expandtab and get_shiftw_value(bufnr) or vim.bo[bufnr].tabstop
context.step = get_shiftw_value(bufnr)
for i = toprow, botrow do
context.snapshot[i + 1] = make_snapshot(i + 1)
end
Expand Down

0 comments on commit 15ba2c3

Please sign in to comment.