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

Inlay Hints stopped working #1062

Closed
ironhacker opened this issue Mar 14, 2024 · 1 comment
Closed

Inlay Hints stopped working #1062

ironhacker opened this issue Mar 14, 2024 · 1 comment
Assignees

Comments

@ironhacker
Copy link

Really like the inlay hints feature, but it quit working recently and I don't know why. I'm using it with NeoVIM:

vim version: NVIM v0.9.5
node version: v20.11.1
coc.nvim version: 0.0.82-84ce0312 2024-03-11 10:52:28 +0800

I tried upgrading everything include node, NeoVIM, coc, and coc-pyright. I also tried disabling all the other plugins in my nvim config, but no luck. Any suggestions would be appreciated.

What's the output of :CocCommand pyright.version

coc-pyright 1.1.351 with Pyright 1.1.354

What's the output of :CocCommand workspace.showOutput Pyright

Workspace: /home/randall/programs/workspace
Using python from /home/randall/programs/workspace/pyenv/bin/python

[Info - 19:01:55.793] Pyright language server 1.1.354 starting
[Info - 19:01:55.794] Server root directory: file:///home/randall/.config/coc/extensions/node_modules/coc-pyright/node_modules/pyright/dist
[Info - 19:01:55.797] Starting service instance "workspace"
[Info - 19:01:55.810] Setting pythonPath for service "workspace": "/home/randall/programs/workspace/pyenv/bin/python"
[Info - 19:01:55.831] Assuming Python version 3.9
[Info - 19:01:55.885] Auto-excluding /home/randall/programs/workspace/pyenv
[Info - 19:01:55.887] Found 1 source file

@fannheyward
Copy link
Owner

coc.nvim has added inline inlayHint support for nvim, similar to Vim 9, neoclide/coc.nvim#4648, this requires nvim 0.10+.

Yes, this is a breaking change for stable (0.9.5) users, two solutions:

  1. using nvim 0.10.0 nightly
  2. or downgrade your coc.nvim to neoclide/coc.nvim@3dc6153

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

2 participants