mirror of
https://github.com/itchyny/lightline.vim.git
synced 2025-11-16 15:33:49 -05:00
Add lightline#palette() API
This commit is contained in:
@@ -135,6 +135,10 @@ function! lightline#colorscheme()
|
||||
endtry
|
||||
endfunction
|
||||
|
||||
function! lightline#palette()
|
||||
return s:lightline.palette
|
||||
endfunction
|
||||
|
||||
function! lightline#mode()
|
||||
return get(s:lightline.mode_map, mode(), s:lightline.mode_map['?'])
|
||||
endfunction
|
||||
|
||||
Reference in New Issue
Block a user