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

Capture in popup any spawned language server interactivity #2700

Closed
bgmonroe opened this issue Dec 10, 2020 · 1 comment
Closed

Capture in popup any spawned language server interactivity #2700

bgmonroe opened this issue Dec 10, 2020 · 1 comment

Comments

@bgmonroe
Copy link

bgmonroe commented Dec 10, 2020

I'm not sure if this functionality already exists but yesterday, Hashicorp updated terraform-ls to now interactively "Ask for init if current folder is empty root module" (hashicorp/terraform-ls#257). So unless terraform init has already been run, this causes VIM to "seemingly" hang on startup, as no keys respond except for the the 't' (to perform the init) or or to not.

You can see the dialog by setting COC_NO_PLUGINS=1 before running vim filename.tf.

image

It would be nice (for clarity) to be able to capture and display that interaction for an interactive key-press in a popup.

@bgmonroe bgmonroe changed the title Capture spawned language server interactions Capture in popup any spawned language server interactivity Dec 10, 2020
@chemzqm
Copy link
Member

chemzqm commented Dec 11, 2020

It's already supported with latest coc.nvim.

@chemzqm chemzqm closed this as completed Dec 11, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants