diff --git a/autoload/airline/highlighter.vim b/autoload/airline/highlighter.vim index a241b54..c477eaa 100644 --- a/autoload/airline/highlighter.vim +++ b/autoload/airline/highlighter.vim @@ -167,6 +167,9 @@ function! s:GetHiCmd(list) let i = -1 while i < 5 let i += 1 + if i == 5 + break + endif let item = get(a:list, i, '') if item is '' continue