Skip to content

Commit f35cb0f

Browse files
committed
Always update g:tpipeline_statusline for lualine
Otherwise we sometimes might use the wrong statusline with lualine.
1 parent 7d3383c commit f35cb0f

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

autoload/tpipeline.vim

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,9 @@ func tpipeline#build_hooks()
3333
endif
3434

3535
if empty(g:tpipeline_statusline) && !g:tpipeline_tabline
36+
if tpipeline#util#is_lualine()
37+
au OptionSet statusline let g:tpipeline_statusline = &stl
38+
endif
3639
if g:tpipeline_clearstl
3740
if tpipeline#util#is_lualine()
3841
au OptionSet statusline if v:option_type == 'local' | call tpipeline#util#clear_all_stl() | endif

0 commit comments

Comments
 (0)