nvim indent fix

This commit is contained in:
thek4n 2024-01-16 19:17:32 +03:00
parent 57537c8370
commit 2195a8bd6f

View File

@ -16,9 +16,9 @@ end
function detect_indent_type()
if vim.bo.expandtab then
return "indent: " .. vim.bo.tabstop .. "s"
return vim.bo.shiftwidth .. " spaces"
else
return "indent: " .. 1 .. "t = " .. vim.bo.tabstop .. "s"
return vim.bo.shiftwidth / vim.bo.tabstop .. " tabs (" .. vim.bo.tabstop .. ")"
end
end