Skip to content

Commit faa8edb

Browse files
committed
Workaround lualine forcing itself for cmdline mode
The CmdlineEnter event didn't seem to work here. This fixes the last problem with lualine in this case (I am sure more problems will arise sooner or later). Also see 14cd2d4 Fixes #51
1 parent 5f6d532 commit faa8edb

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

autoload/tpipeline.vim

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ func tpipeline#build_hooks()
3636
if g:tpipeline_clearstl
3737
if tpipeline#util#is_lualine()
3838
au OptionSet statusline if v:option_type == 'local' | call tpipeline#util#clear_all_stl() | endif
39+
au ModeChanged *:c call tpipeline#util#clear_all_stl()
3940
endif
4041
au OptionSet statusline if v:option_type == 'global' | call tpipeline#util#clear_stl() | endif
4142
endif

0 commit comments

Comments
 (0)