diff options
Diffstat (limited to 'pkgs')
| -rw-r--r-- | pkgs/custom-neovim/config/lua/winbar.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgs/custom-neovim/config/lua/winbar.lua b/pkgs/custom-neovim/config/lua/winbar.lua index 6202065..1e68c9d 100644 --- a/pkgs/custom-neovim/config/lua/winbar.lua +++ b/pkgs/custom-neovim/config/lua/winbar.lua @@ -31,10 +31,10 @@ components.filename = function (args) local filename = vim.fn.expand("%t") -- Shorten if too large - if utils.component_takes_percentage(#filename, 40) then + if utils.component_takes_percentage(#filename, 70) then filename = vim.fn.pathshorten(filename) end - if utils.component_takes_percentage(#filename, 80) then + if utils.component_takes_percentage(#filename, 85) then return "" end |
