Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BREAK CHANGE] Throw vim error for CocAction when plugin not ready #2781

Closed
chemzqm opened this issue Jan 1, 2021 · 0 comments
Closed

[BREAK CHANGE] Throw vim error for CocAction when plugin not ready #2781

chemzqm opened this issue Jan 1, 2021 · 0 comments
Milestone

Comments

@chemzqm
Copy link
Member

chemzqm commented Jan 1, 2021

Check g:coc_service_initialized variable before invoke CocAction function.

Or use CocActionAsync which would be delayed to run after coc.nvim initialized.

User should avoid use CocAction with autocmds which is blocked.

@chemzqm chemzqm added this to the 0.0.81 milestone Jan 1, 2021
@chemzqm chemzqm closed this as completed Jan 2, 2021
yuki-yano added a commit to yuki-yano/fzf-preview.vim that referenced this issue Jan 4, 2021
Throw vim error for `CocAction` when plugin not ready
neoclide/coc.nvim#2781
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant