-
-
Notifications
You must be signed in to change notification settings - Fork 9
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
Regarding the color issue of inlay_hint #63
Comments
I see. How about reversing colors? So bg and fg switch? |
this theme https://github.com/projekt0n/github-nvim-theme do like this: I don’t know much about neovim’s color. It seems like the bg is accentuated. |
in https://github.com/Mofiqul/vscode.nvim, like this: |
I think we can directly refer to its processing method, and the workload should be minimal. |
This one looks good |
I was planning to add this at some point... did you solve it other way or why did you close? |
This issue hasn't changed for a long time. I thought you didn't plan to add this feature. |
Just a lot on my plate. But I want to close all issues at some point ;) |
This theme uses the All we need now is a suitable background colour for both the dark theme and the light theme and it should be done. |
I want to test this but couldn't figure out how to enable the inlay hints.... |
I looked around and found that inlay hints are a Neovim nightly feature. He uses his own plugin called LspUI in his configuration, and I'm not sure if his plugin uses Neovim nightly or Neovim stable, but installing his plugin might allow you to test it: @jinzhongjia would you mind providing a minimal config to display the inlay hints as well as some code examples to test it? |
first, add this to lua_ls config(I use settings = {
Lua = {
hint = {
enable = true,
arrayIndex = "Enable",
setType = true,
},
workspace = {
checkThirdParty = false,
},
},
}, Then install neovim use this to disable inaly_hint |
The inlay_hint of my plugin is just a package for the official function, which is more convenient for management (such as opening and closing different types of files and temporarily closing them) |
I think these are enough for testing without the need to install additional plugins |
@uloco Neovim stable has updated to 0.10.0 and inlay hints should be easily testable now. |
Its background color is the same as the annotation, so it doesn't look clear enough. Maybe we can make the difference by deepening the background color of inlay_hint.
The text was updated successfully, but these errors were encountered: