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

API call: Invalid 'style': expected String, got nil #124

Open
eyalk11 opened this issue May 24, 2024 · 3 comments
Open

API call: Invalid 'style': expected String, got nil #124

eyalk11 opened this issue May 24, 2024 · 3 comments
Labels
bug Something isn't working

Comments

@eyalk11
Copy link

eyalk11 commented May 24, 2024

Describe the bug
A clear and concise description of what the bug is.
got
pynvim.api.common.NvimError: Vim:E5555: API call: Invalid 'style': expected String, got nil

when evaluate any cell

Desktop (please complete the following information):

  • OS: [e.g. iOS] windows
  • Browser [e.g. chrome, safari]
  • Version [e.g. 22]

python 3.9

BTW, how do I change python host? I mean I need pythno3_host to be 3.9 but still use another python in magma?

@eyalk11 eyalk11 added the bug Something isn't working label May 24, 2024
@eyalk11 eyalk11 changed the title [Bug] <Your title here> API call: Invalid 'style': expected String, got nil May 24, 2024
@rwijtvliet
Copy link

Same here, python 3.11 on MacOS

@nickhealy
Copy link

+1, on RHEL 7.5 (old I know, but I don't imagine this is OS related)
browser is chrome

@rolliver
Copy link

rolliver commented Jul 31, 2024

New here just installed and got the same error, tracked it down to outputbuffer.py 126

                    "style": None
                    if self.options.output_window_borders
                    else "minimal",
                    "border": "rounded"
                    if self.options.output_window_borders
                    else "none",

Seems to work if you change to "style": "minimal"

126c126
<                     "style": "minimal"
---
>                     "style": None

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

No branches or pull requests

4 participants