Skip to content

bug: Hover doc bad arguments error #85

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

Closed
liketoeatcheese opened this issue Jul 22, 2024 · 2 comments
Closed

bug: Hover doc bad arguments error #85

liketoeatcheese opened this issue Jul 22, 2024 · 2 comments
Labels
duplicate This issue or pull request already exists

Comments

@liketoeatcheese
Copy link

Neovim version (nvim -v)

NVIM v0.10.0 Build type: Release LuaJIT 2.1.1713484068

Operating system

Arch Linux

Terminal emulator / GUI

Windows Terminal Wsl2

Describe the bug

Hey mate, first of all, love this plugin.

This showed up whenever I opened hover doc for lsp
image

Error executing vim.schedule lua callback: ...are/nvim/lazy/render-markdown/lua/render-markdown/ui.lua:82: bad argument #1 to 'ipairs' (table expected, got nil)
stack traceback:
[C]: in function 'ipairs'
...are/nvim/lazy/render-markdown/lua/render-markdown/ui.lua:82: in function 'refresh'
...are/nvim/lazy/render-markdown/lua/render-markdown/ui.lua:32: in function <...are/nvim/lazy/render-markdown/lua/render-markdown/ui.lua:30>

Expected behavior

Lsp hover doc popped up without any errors

Healthcheck output (:checkhealth render-markdown)

==============================================================================
render-markdown: require("render-markdown.health").check()

markdown.nvim [neovim version] ~

  • OK Version >= 0.10

markdown.nvim [configuration] ~

  • OK valid

markdown.nvim [nvim-treesitter] ~

  • OK installed
  • OK markdown: parser installed
  • OK markdown_inline: parser installed
  • WARNING latex: parser not installed
    • ADVICE:
      • Disable LaTeX support to avoid this warning by setting { latex = { enabled = false } }
  • OK highlights enabled

markdown.nvim [executables] ~

  • WARNING latex2text: not installed
    • ADVICE:
      • Disable LaTeX support to avoid this warning by setting { latex = { enabled = false } }

Additional information

No response

@liketoeatcheese liketoeatcheese added the bug Something isn't working label Jul 22, 2024
@MeanderingProgrammer
Copy link
Owner

I believe you are using a version before this commit: b7cf9e9, with a fix.

Can you update the plugin and see if it still happens?

@liketoeatcheese
Copy link
Author

Yes the lastest update fixed it :) Thank you! Closing this

@MeanderingProgrammer MeanderingProgrammer added duplicate This issue or pull request already exists and removed bug Something isn't working labels Feb 7, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
duplicate This issue or pull request already exists
Projects
None yet
Development

No branches or pull requests

2 participants