Merge pull request #838 from RsrchBoy/topic/capslock

Fix vim-capslock functionality after changes in CapsLockStatusline()
This commit is contained in:
Bailey Ling 2015-10-05 08:38:49 -04:00
commit 4b4c70308a
1 changed files with 1 additions and 1 deletions

View File

@ -5,7 +5,7 @@ if !exists('*CapsLockStatusline')
endif
function! airline#extensions#capslock#status()
return CapsLockStatusline() == '[caps]' ? 'CAPS' : ''
return tolower(CapsLockStatusline()) == '[caps]' ? 'CAPS' : ''
endfunction
function! airline#extensions#capslock#init(ext)