nvim-lualine / lualine.nvim

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

fix(branch): extract correct branch name for term buffers #1204

Closed Willem-J-an closed 4 months ago

Willem-J-an commented 4 months ago

terminal buffers have a different path that did not work to retrieve the branch name. By extracting the path out of the terminal path, the branch name can still resolve even when in term buffers.

shadmansaleh commented 4 months ago

lgtm. thanks