Skip to content

Commit eb63f77

Browse files
committed
fix(rpc): reset g:coc_status on restart
Closes #4535
1 parent 4c4d536 commit eb63f77

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

autoload/coc/rpc.vim

+1
Original file line numberDiff line numberDiff line change
@@ -145,6 +145,7 @@ function! coc#rpc#restart()
145145
autocmd! coc_dynamic_content
146146
autocmd! coc_dynamic_option
147147
call coc#rpc#request('detach', [])
148+
unlet g:coc_status
148149
let g:coc_service_initialized = 0
149150
sleep 100m
150151
if exists('$COC_NVIM_REMOTE_ADDRESS')

0 commit comments

Comments
 (0)