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

Refactor ddu#_notify and ddu#_request and else. #64

Closed
wants to merge 8 commits into from

Conversation

lambdalisue
Copy link
Contributor

NOT TESTED. Theoretically it should work. I made this PR to hear your opinion (e.g. This PR added plugin/ddu.vim or so on)

To avoid blocking the main thread, `denops#plugin#wait_async` is used
Using `denops#request()` means that the caller is waiting for the result
but we cannot wait when denops.vim is not in runtimepath thus we add
warning message and use s:notify() instead while we anyway cannot return
the proper result.
@lambdalisue lambdalisue marked this pull request as draft July 3, 2023 01:03
@Shougo
Copy link
Owner

Shougo commented Jul 3, 2023

Hm. I think DDUReady backward compatibility is not needed.

@Shougo
Copy link
Owner

Shougo commented Jul 3, 2023

Sorry. I can't merge the PR.
But use DenopsPluginPost is good. Thank you.

@Shougo
Copy link
Owner

Shougo commented Jul 3, 2023

Hi. Can you fix the PR?

@Shougo
Copy link
Owner

Shougo commented Jul 4, 2023

I have improved notify() implementation.

@Shougo Shougo closed this Jul 4, 2023
@lambdalisue lambdalisue deleted the refactor branch July 4, 2023 12:58
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

Successfully merging this pull request may close these issues.

2 participants