fix(lsp): don't use hl_mode = combine for inlay hints #24276

Problem: `hl_mode` for inlay hints is `combine`, causing bugs like
inlay hints using highlights from the previous character
(#24152, #24068)

Solution: Don't use hl_mode=combine for inlay hints.
This commit is contained in:
Chinmay Dalal 2023-07-08 12:44:52 +05:30 committed by GitHub
parent c4df2f08b6
commit 21fa19f3e8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -289,7 +289,6 @@ api.nvim_set_decoration_provider(namespace, {
virt_text_pos = 'inline', virt_text_pos = 'inline',
ephemeral = false, ephemeral = false,
virt_text = vt, virt_text = vt,
hl_mode = 'combine',
}) })
end end
end end