diff --git a/autoload/airline/extensions/capslock.vim b/autoload/airline/extensions/capslock.vim index 689b561..32aaf39 100644 --- a/autoload/airline/extensions/capslock.vim +++ b/autoload/airline/extensions/capslock.vim @@ -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)