mirror of
https://github.com/itchyny/lightline.vim.git
synced 2025-11-17 07:53:41 -05:00
Change colour of 'terminal' mode to be same as 'insert' mode.
This commit is contained in:
@@ -94,7 +94,7 @@ function! lightline#init() abort
|
||||
\ 'n': 'normal', 'i': 'insert', 'R': 'replace', 'v': 'visual', 'V': 'visual',
|
||||
\ 'c': 'command', "\<C-v>": 'visual', 's': 'select', 'S': 'select', "\<C-s>": 'select',
|
||||
\ 't': 'terminal' }
|
||||
call extend(s:lightline.mode_fallback, { 'replace': 'insert', 'select': 'visual' })
|
||||
call extend(s:lightline.mode_fallback, { 'replace': 'insert', 'terminal': 'insert', 'select': 'visual' })
|
||||
call extend(s:lightline.component, {
|
||||
\ 'mode': '%{lightline#mode()}',
|
||||
\ 'absolutepath': '%F', 'relativepath': '%f', 'filename': '%t', 'modified': '%M', 'bufnum': '%n',
|
||||
|
||||
Reference in New Issue
Block a user