Merge pull request #2319 from idbrii/lsp-hide-when-nothing
Return nothing when there is no lsp-progress
This commit is contained in:
commit
c7a633ce8f
|
@ -80,9 +80,9 @@ function! airline#extensions#lsp#progress() abort
|
|||
let message = airline#util#shorten(s:lsp_progress['message'] . percent, 91, 9)
|
||||
return s:lsp_progress['server'] . ':' . s:title . ' ' . message
|
||||
endif
|
||||
return ''
|
||||
endif
|
||||
endif
|
||||
return ''
|
||||
endfunction
|
||||
|
||||
let s:timer = 0
|
||||
|
|
Loading…
Reference in New Issue