vimpostor / vim-tpipeline

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

Breaking horizontal splits #55

Closed haru02w closed 1 year ago

haru02w commented 1 year ago

Describe the bug

When resizing panels using tmux integration from smart-splits, this plugin conflict in some way and change the cmdheight when it shouldn't.

To reproduce

Using neovim, install smart-splits and vim-tpipeline. Open Tmux, open neovim, split horizontally, focus on neovim and try to resize it.

Expected behavior

It should resize the tmux pane but instead it resizes the cmdheight

Terminal emulator

foot terminal

Debug output

{'right': ['#[fg=#93a4c3,bg=#283347]#[fg=#93a4c3,bg=#21283b] utf-8 #[fg=#93a4c3,bg=#21283b]  #[fg=#51a0cf,bg=#21283b]
#[fg=#93a4c3,bg=#21283b] lua #[fg=#2a324a,bg=#21283b]#[fg=#93a4c3,bg=#2a324a] 62% #[fg=#efbd5d,bg=#2a324a]#[fg=#1a212e
,bg=#efbd5d,bold]   5:1  '], 'native_str': ' COMMAND   master  plugins/init.lua
           utf-8     lua  62%    5:1  ', 'version_info': '{   api_compatible = 0,   api_level = 11,   api_prereleas
e = false,   major = 0,   minor = 9,   patch = 0,   prerelease = false }', 'tmux': 'tmux 3.3a', 'left': ['#[fg=#93a4c3,bg
=#283347]#[fg=#1a212e,bg=#efbd5d,bold] COMMAND #[fg=#efbd5d,bg=#2a324a,nobold]#[fg=#93a4c3,bg=#2a324a]  master #[fg=#2a
324a,bg=#21283b]#[fg=#93a4c3,bg=#21283b] plugins/init.lua #[fg=#93a4c3,bg=#21283b]'], 'plugin_version': '1.0', 'native_h
ighlights': [{'group': 'lualine_a_command', 'start': 0}, {'group': 'lualine_transitional_lualine_a_command_to_lualine_b_n
ormal', 'start': 9}, {'group': 'lualine_b_normal', 'start': 12}, {'group': 'lualine_transitional_lualine_b_normal_to_lual
ine_c_normal', 'start': 24}, {'group': 'lualine_c_normal', 'start': 27}, {'group': 'lualine_c_normal', 'start': 45}, {'gr
oup': 'lualine_c_normal', 'start': 93}, {'group': 'lualine_c_normal', 'start': 103}, {'group': 'lualine_x_filetype_DevIco
nLua_command', 'start': 111}, {'group': 'lualine_c_normal', 'start': 115}, {'group': 'lualine_transitional_lualine_b_norm
al_to_lualine_c_normal', 'start': 120}, {'group': 'lualine_b_normal', 'start': 123}, {'group': 'lualine_transitional_lual
ine_a_command_to_lualine_b_normal', 'start': 128}, {'group': 'lualine_a_command', 'start': 131}], 'os': 'Linux', 'brand':
 'neovim'}
haru02w commented 1 year ago

Solved upstream in https://github.com/mrjones2014/smart-splits.nvim/pull/110.