vimpostor / vim-tpipeline

Embed your vim statusline in tmux
GNU General Public License v3.0
364 stars 10 forks source link

Long statusline of short split pane will collapses to the left. #25

Closed lkhphuc closed 2 years ago

lkhphuc commented 2 years ago

Hi, thanks for the great plugin. I'm having an issue but not sure if lualine or tpipeline is the culprit.

Relevant config:

-- lualine 
require('lualine').setup {
  options = {
    icons_enabled = true,
    theme = 'auto',
    component_separators = { left = '', right = '' },
    section_separators = { left = '', right = '' },
    disabled_filetypes = { "alpha", "dashboard", "NvimTree", "Outline" },
    always_divide_middle = true,
    globalstatus = true,
  },
...
set -g focus-events on
set -g status-style bg=default
set -g status-left-length 90
set -g status-right-length 90
set -g status-justify absolute-centre

Edit: Tried another statusline plugin and see the same behavior.

vimpostor commented 2 years ago

Which neovim version is that on?

Also can you please post the output of :echo tpipeline#debug#info() - with the narrower pane focused?

Edit: Never mind, I can reproduce it now.

lkhphuc commented 2 years ago

Thanks for the quick fix. Confirmed it works for me.