clipboard-image.nvim
clipboard-image.nvim copied to clipboard
Missing parentheses Error
I installed the plugin and tried to run Run :checkhealth clipboard-image
but got the following error.
health#clipboard-image#check
========================================================================
- ERROR: Failed to run healthcheck for "clipboard-image" plugin. Exception:
function health#check, line 21
Vim(call):E107: Missing parentheses '(': health#clipboard-image#check()
My environment is below.
- NVIM v0.5.1
- macOS Monterey 12.6
It's in Japanese, but I'll post a picture.
Do you have any solutions? thank you
Hmm weird 🤔. I'll try to take a look
Oh okay so I create health check with health.lua
file but neovim support Lua healthchecks since v0.6 https://github.com/neovim/neovim/pull/15259. So that's the problem.
This plugin should actually work on v0.5 so maybe I should make separate healthcheck in vimscript
Sorry for the late reply. I see, thank you for your research.
It worked fine on my other device (NVIM v0.8.0), so I will raise the vim version on the 0.5.1 device to handle it.
Hello, I'm receiving a similar error. Using (NVIM v0.9.0 nightly), macOS Ventura 13.2.1
I have fixed the error here: #48. I've changed the health.lua file to reference the proper check health functions, as documented here: https://neovim.io/doc/user/pi_health.html#health-dev.
Checkhealth and plugin now work great.