mirror of
https://github.com/vim-airline/vim-airline-themes.git
synced 2024-12-14 07:14:26 +08:00
Merge pull request #838 from RsrchBoy/topic/capslock
Fix vim-capslock functionality after changes in CapsLockStatusline()
This commit is contained in:
commit
4b4c70308a
|
@ -5,7 +5,7 @@ if !exists('*CapsLockStatusline')
|
||||||
endif
|
endif
|
||||||
|
|
||||||
function! airline#extensions#capslock#status()
|
function! airline#extensions#capslock#status()
|
||||||
return CapsLockStatusline() == '[caps]' ? 'CAPS' : ''
|
return tolower(CapsLockStatusline()) == '[caps]' ? 'CAPS' : ''
|
||||||
endfunction
|
endfunction
|
||||||
|
|
||||||
function! airline#extensions#capslock#init(ext)
|
function! airline#extensions#capslock#init(ext)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user