Fix some bad indentation
This commit is contained in:
parent
af02fb5183
commit
5859050d29
1 changed files with 7 additions and 7 deletions
|
@ -50,14 +50,14 @@ endfunction
|
||||||
|
|
||||||
" Get the counts for the buffer, and update the counts if needed.
|
" Get the counts for the buffer, and update the counts if needed.
|
||||||
function! s:GetCounts(buffer) abort
|
function! s:GetCounts(buffer) abort
|
||||||
if !exists('g:ale_buffer_info') || !has_key(g:ale_buffer_info, a:buffer)
|
if !exists('g:ale_buffer_info') || !has_key(g:ale_buffer_info, a:buffer)
|
||||||
return s:CreateCountDict()
|
return s:CreateCountDict()
|
||||||
endif
|
endif
|
||||||
|
|
||||||
" Cache is cold, so manually ask for an update.
|
" Cache is cold, so manually ask for an update.
|
||||||
if !has_key(g:ale_buffer_info[a:buffer], 'count')
|
if !has_key(g:ale_buffer_info[a:buffer], 'count')
|
||||||
call ale#statusline#Update(a:buffer, g:ale_buffer_info[a:buffer].loclist)
|
call ale#statusline#Update(a:buffer, g:ale_buffer_info[a:buffer].loclist)
|
||||||
endif
|
endif
|
||||||
|
|
||||||
return g:ale_buffer_info[a:buffer].count
|
return g:ale_buffer_info[a:buffer].count
|
||||||
endfunction
|
endfunction
|
||||||
|
|
Reference in a new issue