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

Error message has no line breaks #104

Closed
MisterSincere opened this issue May 2, 2023 · 1 comment
Closed

Error message has no line breaks #104

MisterSincere opened this issue May 2, 2023 · 1 comment

Comments

@MisterSincere
Copy link

Hello,
just set up your plugin and it was pretty easy. Now I have the problem that within a simple test program, where I just have an IndexError, the according error message goes right out of screen. Hence for example the stack trace is not readable.

Is there a configuration I can change for that? Is there a desired behavior for that?

It would be pretty nice to be able to read the error "inlined" in the code. Otherwise I just start the program normally and check the error message, which does not feel right.

@mfussenegger
Copy link
Owner

If you're referring to the error of an exception breakpoint you can use the neovim diagnostic api to show the full message. E.g.: :lua vim.diagnostic.open_float()

If it's about repl output - there are open issues in nvim-dap, see:

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