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

Latest Noice plugin breaks the ability to get documentation window after entering one #150

Closed
InsigMath opened this issue Oct 28, 2022 · 2 comments · Fixed by #639
Closed
Labels
bug Something isn't working

Comments

@InsigMath
Copy link

Describe the bug
When I open up any type of file like a lua file if I push K I get the definiton with the new window but if I push K again to into the window and then exit and try to bring up the documentation again I get a vim/_meta:0: error where its expecting a lua string.

Which version of Neovim are you using?
0.8.0 nvim nightly

To Reproduce
Steps to reproduce the behavior:

  1. Open up a file, like a lua file.
  2. Push K and then push K to get in the documentation popup window and then get out.
  3. Push K again and you get that error notification, if you exit the file and go back it is normal.

Expected Behavior
You would expect the documentation window to popup again since that was the old behaviour.

Screenshots
noice_hover_error

Noice Log
Fri Oct 28 15:42:01 2022

Noice log
vim/_meta.lua:0: Expected lua string

stack traceback:
[C]: in function 'pcall'
.../site/pack/packer/opt/noice.nvim/lua/noice/util/call.lua:140: in function <.../site/pack/packer/opt/noice.nvim/lua/noice/util/call.lua:139>
[C]: in function 'nvim_get_option_info'
vim/_meta.lua: in function '__index'
vim/_meta.lua: in function ''
vim/_meta.lua: in function '__index'
...m/site/pack/packer/opt/noice.nvim/lua/noice/view/nui.lua:260: in function <...m/site/pack/packer/opt/noice.nvim/lua/noice/view/nui.lua:251>
[C]: in function 'xpcall'
.../site/pack/packer/opt/noice.nvim/lua/noice/util/call.lua:145: in function 'try'
.../site/pack/packer/opt/noice.nvim/lua/noice/view/init.lua:123: in function 'display'
.../pack/packer/opt/noice.nvim/lua/noice/message/router.lua:115: in function <.../pack/packer/opt/noice.nvim/lua/noice/message/router.lua:74>
[C]: in function 'xpcall'
.../site/pack/packer/opt/noice.nvim/lua/noice/util/call.lua:145: in function <.../site/pack/packer/opt/noice.nvim/lua/noice/util/call.lua:130>
[C]: in function 'pcall'
.../site/pack/packer/opt/noice.nvim/lua/noice/util/init.lua:104: in function ''
vim/_editor.lua: in function ''
vim/_editor.lua: in function <vim/_editor.lua:0>

@InsigMath InsigMath added the bug Something isn't working label Oct 28, 2022
@InsigMath InsigMath changed the title Latest Noice plugin breaks definition hover when I go into the hover window Latest Noice plugin breaks the ability to get documentation window after entering one Oct 28, 2022
@folke folke closed this as completed in 7e2e449 Oct 28, 2022
@folke
Copy link
Owner

folke commented Oct 28, 2022

I didn't experience that problem, but I probably fixed it. Let me know if it would still cause any issues

@InsigMath
Copy link
Author

This works now thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants