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