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

Add a status function for integration into the statusline #152

Merged
merged 1 commit into from
Apr 16, 2021

Conversation

mfussenegger
Copy link
Owner

@mfussenegger mfussenegger commented Apr 15, 2021

That should also give some feedback and the people who really wanted could still override dap.progress.report to point to vim.notify or do something else with the information. (Though I don't consider the dap/progress.lua module API public/stable)

@mfussenegger mfussenegger marked this pull request as ready for review April 15, 2021 19:47
@mfussenegger mfussenegger merged commit 8b7e087 into master Apr 16, 2021
@mfussenegger mfussenegger deleted the progress-status branch April 16, 2021 15:01
@Shatur
Copy link
Contributor

Shatur commented Apr 16, 2021

Thank you! But it shows stopped, paused, etc. only after first pause for me.

@mfussenegger
Copy link
Owner Author

Thank you! But it shows stopped, paused, etc. only after first pause for me.

Could you elaborate or show a short video of what you see and explain what you'd expect to see?

@Shatur
Copy link
Contributor

Shatur commented Apr 16, 2021

Could you elaborate or show a short video of what you see and explain what you'd expect to see?

I integrated your plugin into my CMake helper here. But print(require('dap').status()) returns an empty string after starting a session. I should call pause manually to enable any messages from status function.

Works as expected in the latest master.

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.

None yet

2 participants