chore: formated with stylua (#410)

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
This commit is contained in:
github-actions[bot] 2021-10-29 19:13:17 +06:00 committed by GitHub
parent 0928fef6c2
commit 7eff9bbeb4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -96,7 +96,7 @@ function M:update_status()
if type(max_length) == 'function' then if type(max_length) == 'function' then
max_length = max_length(self) max_length = max_length(self)
end end
if max_length == 0 then if max_length == 0 then
max_length = math.floor(2 * vim.o.columns / 3) max_length = math.floor(2 * vim.o.columns / 3)
end end

View File

@ -79,7 +79,7 @@ function M:update_status()
if type(max_length) == 'function' then if type(max_length) == 'function' then
max_length = max_length(self) max_length = max_length(self)
end end
if max_length == 0 then if max_length == 0 then
max_length = math.floor(vim.o.columns / 3) max_length = math.floor(vim.o.columns / 3)
end end