From 7eff9bbeb4e3ff93381f8f631536c59f1b65ffc9 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Fri, 29 Oct 2021 19:13:17 +0600 Subject: [PATCH] chore: formated with stylua (#410) Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> --- lua/lualine/components/buffers/init.lua | 2 +- lua/lualine/components/tabs/init.lua | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lua/lualine/components/buffers/init.lua b/lua/lualine/components/buffers/init.lua index f8ed029..96d6f63 100644 --- a/lua/lualine/components/buffers/init.lua +++ b/lua/lualine/components/buffers/init.lua @@ -96,7 +96,7 @@ function M:update_status() if type(max_length) == 'function' then max_length = max_length(self) end - + if max_length == 0 then max_length = math.floor(2 * vim.o.columns / 3) end diff --git a/lua/lualine/components/tabs/init.lua b/lua/lualine/components/tabs/init.lua index 3304198..59c7f7c 100644 --- a/lua/lualine/components/tabs/init.lua +++ b/lua/lualine/components/tabs/init.lua @@ -79,7 +79,7 @@ function M:update_status() if type(max_length) == 'function' then max_length = max_length(self) end - + if max_length == 0 then max_length = math.floor(vim.o.columns / 3) end