Closed VladimirPal closed 3 months ago
Hi! Initializing tsserver text is not showing after vim launching.
❯ vim --version VIM - Vi IMproved 9.0 (2022 Jun 28, compiled Aug 06 2022 10:35:28) macOS version - x86_64
I'm using lightline to display a status of tsserver:
lightline
tsserver
let g:lightline = { \ 'active': { \ 'left': [ [ 'mode', 'paste' ], \ [ 'cocstatus', 'readonly', 'filename', 'modified' ] ] \ }, \ 'component_function': { \ 'cocstatus': 'coc#status' \ }, \ }
I've test it and loading setter changing immediately from true on false.
loading
true
false
public set loading(isLoading: boolean) { if (isLoading) { this._versionBarEntry.text = `Initializing tsserver ${this._versionString}` } else { this._versionBarEntry.text = `TSC ${this._versionString}` } this._versionBarEntry.isProgress = isLoading }
The only way to see a loading indicator is manual :CocRestart
:CocRestart
Hi! Initializing tsserver text is not showing after vim launching.
I'm using
lightline
to display a status oftsserver
:I've test it and
loading
setter changing immediately fromtrue
onfalse
.The only way to see a loading indicator is manual
:CocRestart