ayamir / nvimdots

A well configured and structured Neovim.
BSD 3-Clause "New" or "Revised" License
2.82k stars 450 forks source link

fix(lualine): disable default separators for custom separator #1233

Closed Jint-lzxy closed 2 months ago

Jint-lzxy commented 2 months ago

I know the commit message might be a bit difficult to grasp, but I'm struggling to find a clearer way to describe it :( Essentially, this commit ensures that when our custom separator is used, default separators (as defined by section_separators and component_separators) are not added to the statusline. This prevents certain extreme scenarios where the default separator cannot be concealed, such as when in terminal mode with :ToggleTerm direction=horizontal.