Virtual text highlight not respecting cursorline background
catgoose opened this issue · 3 comments
catgoose commented
Make sure you have done the following
- I have updated to the latest version of the plugin.
- I have read the README.
- LSP inlay hints do work correctly without this plugin when using
vim.lsp.inlay_hint.enable(true)
. (If not, then the problem lies with your LSP or your LSP configuration, not this plugin.)
Bug Description
Without plugin:
With plugin:
I use kanagawa and LspInlayHint
highlight group links to NonText
, but it looks like when the virtual text is created for some reason it is not displaying the same with cursorline as when the plugin is disabled
Relevant Screenshot
No response
To Reproduce
- enable cursorline
- set highlight group for cursorline
- view inlay hints
neovim version
NVIM v0.10.0
Build type: Release
LuaJIT 2.1.1713484068
chrisgrieser commented
Tbh, I am not sure why that happens, since the plugin does not change highlight groups at all. 🤔
catgoose commented
Could it be how the virtual text is created?
chrisgrieser commented
ah found it, there is an extmark option for that. Fixed.