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

Missing parentheses Error #42

Open
Riku-programming opened this issue Nov 27, 2022 · 4 comments
Open

Missing parentheses Error #42

Riku-programming opened this issue Nov 27, 2022 · 4 comments

Comments

@Riku-programming
Copy link

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.
image

Do you have any solutions?
thank you

@ekickx
Copy link
Owner

ekickx commented Nov 27, 2022

Hmm weird 🤔. I'll try to take a look

@ekickx
Copy link
Owner

ekickx commented Dec 1, 2022

Oh okay so I create health check with health.lua file but neovim support Lua healthchecks since v0.6 neovim/neovim#15259. So that's the problem.

This plugin should actually work on v0.5 so maybe I should make separate healthcheck in vimscript

@Riku-programming
Copy link
Author

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.

@dfendr
Copy link

dfendr commented Mar 16, 2023

Hello, I'm receiving a similar error. Using (NVIM v0.9.0 nightly), macOS Ventura 13.2.1
image

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.
image

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

3 participants