mirror of
https://github.com/itchyny/lightline.vim.git
synced 2025-11-16 23:43:42 -05:00
use CursorMoved (to update after leaving command line buffer)
This commit is contained in:
@@ -3,7 +3,8 @@ set cpo&vim
|
||||
|
||||
augroup LightLine
|
||||
autocmd!
|
||||
autocmd WinEnter,BufWinEnter,BufUnload,CmdwinEnter,CmdwinLeave,ShellCmdPost * call lightline#update()
|
||||
autocmd WinEnter,BufWinEnter * call lightline#update()
|
||||
autocmd CursorMoved,FileType * call lightline#update_once()
|
||||
autocmd InsertLeave * call lightline#update(1)
|
||||
autocmd InsertEnter * call lightline#update(0)
|
||||
augroup END
|
||||
|
||||
Reference in New Issue
Block a user