Closed AdrienLemaire closed 9 months ago
What is the highlight group for the tokens?
You can run :Inspect
on one of them.
I can't put my cursor directly on these strings, they are types generated by a typescript plugin. On the preceding character, I get:
Treesitter
- @variable.tsx links to @variable tsx
- @parameter.tsx links to @parameter tsx
Semantic Tokens
- @lsp.type.parameter.typescriptreact links to @parameter priority: 125
- @lsp.mod.declaration.typescriptreact links to @lsp priority: 126
- @lsp.typemod.parameter.declaration.typescriptreact links to @lsp priority: 127
Extmarks
- IlluminatedWordRead illuminate.highlight
I need to reproduce it. what is the typescript plugin and configuration
Sounds difficult to reproduce... the lazy config has
{ import = "lazyvim.plugins.extras.lang.typescript" },
And I added typescript-language-server
in the mason config in lsp.lua
I found the rule by looking in :highlight
LspInlayHintxxx guifg=#576d74 guibg=#268bd3
Here are other highlight groups with critical contrast issue. I gave up looking at all the 6500 lines, and have only noticed the LspInlayHint issue so far :)
ah ok I wasn't on nvim 0.10 yet. will try it!
ใ่ชใใใใใจใใใใใพใใใใใชใๅไบบ็ใซไผใใฎใฏใๆญใใใฆใใพใใๅคง้ชใฎๆ ใๆฅฝใใใงใใ ใใ๏ผ
Did you check docs and existing issues?
Neovim version (nvim -v)
v0.10.0-dev-1811+gc95b9a32f
Operating system/version
Ubuntu 22.04
Describe the bug
I could verify that this problem occurs with or without tmux, on both Terminal and Alacritty. I have true colors in the terminal.
I haven't modified the colorscheme config
Steps To Reproduce
Install LazyVim with your beautiful video.
Expected Behavior
The text-on-bg should be readable
Repro
No response