Skip to content

Commit

Permalink
fix(rpc): reset g:coc_status on restart
Browse files Browse the repository at this point in the history
Closes #4535
  • Loading branch information
chemzqm committed Sep 10, 2023
1 parent 4c4d536 commit eb63f77
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions autoload/coc/rpc.vim
Original file line number Diff line number Diff line change
Expand Up @@ -145,6 +145,7 @@ function! coc#rpc#restart()
autocmd! coc_dynamic_content
autocmd! coc_dynamic_option
call coc#rpc#request('detach', [])
unlet g:coc_status
let g:coc_service_initialized = 0
sleep 100m
if exists('$COC_NVIM_REMOTE_ADDRESS')
Expand Down

0 comments on commit eb63f77

Please sign in to comment.