nvim indent fix
This commit is contained in:
parent
57537c8370
commit
2195a8bd6f
@ -16,9 +16,9 @@ end
|
|||||||
|
|
||||||
function detect_indent_type()
|
function detect_indent_type()
|
||||||
if vim.bo.expandtab then
|
if vim.bo.expandtab then
|
||||||
return "indent: " .. vim.bo.tabstop .. "s"
|
return vim.bo.shiftwidth .. " spaces"
|
||||||
else
|
else
|
||||||
return "indent: " .. 1 .. "t = " .. vim.bo.tabstop .. "s"
|
return vim.bo.shiftwidth / vim.bo.tabstop .. " tabs (" .. vim.bo.tabstop .. ")"
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user