nvim-lualine / lualine.nvim

A blazing fast and easy to configure neovim statusline plugin written in pure lua.
MIT License
5.71k stars 455 forks source link

Feat: support `max_length` in `branch` component #1269

Open AntonNiklasson opened 4 days ago

AntonNiklasson commented 4 days ago

Requested feature

Some of my branches have really long names, but I only care about parts of it in that case. I'd like to set a max length and have the branch name be cut off if longer than that.