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

How to call quickui function in another plugin? #27

Closed
xfyuan opened this issue Apr 17, 2020 · 1 comment
Closed

How to call quickui function in another plugin? #27

xfyuan opened this issue Apr 17, 2020 · 1 comment

Comments

@xfyuan
Copy link

xfyuan commented Apr 17, 2020

I'm writing a little plugin and try to call quickui#textbox#open in my own plugin, but it doesn't popup the textbox window. Could you give some example?

This is the demo code in my plugin:

    let l:result = "These are demo content!!"
    let x = substitute(l:result, '[\n\r]\+\%$', '', 'g')
    let content = filter(split(x, "\n"), 'v:key != ""')
    let opts = {"close":"button", "title":"Notes"}
    call quickui#textbox#open(content, opts)
@xfyuan xfyuan closed this as completed Apr 23, 2020
@xfyuan
Copy link
Author

xfyuan commented Apr 23, 2020

has solved.

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

1 participant