Fix indent size

This commit is contained in:
BonaBeavis 2021-02-22 13:14:25 +01:00 committed by Kiyan
parent 079dafa36e
commit be9c4ab36d

View file

@ -40,7 +40,7 @@ local get_indents = utils.memoize_by_buf_tick(function(bufnr)
end)
local function get_indent_size()
return vim.bo.softtabstop < 0 and vim.bo.shiftwidth or vim.bo.tabstop
return vim.bo.softtabstop > 0 and vim.bo.shiftwidth or vim.bo.tabstop
end
function M.get_indent(lnum)