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