NVIM v0.7.0-dev+1092-g238b944e5
Vim (not Nvim) behaves the same?Not relevant (neovim api)
Operating system/versionUbuntu 20.04.3
Terminal name/versionkitty 0.24.1
$TERM environment variablexterm-kitty
InstallationBuild from source
How to reproduce the issueBuild neovim from source and try to change DiffDelete
highlight group with:
:lua vim.api.nvim_set_hl(0, "DiffDelete", { fg = nil, bg = "#ff0000" })
or:lua vim.api.nvim_set_hl(0, "DiffDelete", { fg = "NONE", bg = "#ff0000" })
or:lua vim.api.nvim_set_hl(0, "DiffDelete", { fg = -1, bg = "#ff0000" })
I would expect at least one of those ways would clear the foreground color of DiffDelete
It remains Blue
like it is by default.
I also tried looking in the docs for other ways to only clear the foreground color with the api.
Note that: :hi! DiffDelete guifg=NONE guibg=#ff0000
works correctly and removes the foreground color
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4