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

feature: print stacktrace of echom #808

Open
1 task done
eyalk11 opened this issue May 16, 2024 · 1 comment
Open
1 task done

feature: print stacktrace of echom #808

eyalk11 opened this issue May 16, 2024 · 1 comment
Labels
enhancement New feature or request

Comments

@eyalk11
Copy link

eyalk11 commented May 16, 2024

Did you check the docs?

  • I have read all the noice.nvim docs

Is your feature request related to a problem? Please describe.

It is quite useful to know from where a message was triggered as sometimes this information is lacking from the message itself, esp if error (for example: <CMD> without <CR> is without context , though might be a bit completed ).

Describe the solution you'd like

if it is possible to print stack trace of error (either from lua /vim ) . And if not , maybe originated line in vim/lua is possible at least if echom was called. Could be in debug window.

Describe alternatives you've considered

None

Additional context

No response

@eyalk11 eyalk11 added the enhancement New feature or request label May 16, 2024
@eyalk11
Copy link
Author

eyalk11 commented May 16, 2024

Now it sort of drives me crazy that I don't find from where this error stems in my file.

[lspconfig] unhandled error: .../ekarni/.vim/plugged/noice.nvim/lua/noice/util/hacks.lua:119: Vim:LSP[lua_ls]: Error ON_ATTACH_ERROR: "vim/keymap.lua:47: rhs: expected string|function, got nil"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant