Adjust Neovim colors to also work with light mode

This commit is contained in:
caem 2024-06-06 16:29:46 +02:00
parent dff2ba275a
commit 035d66c186
Signed by: caem
GPG key ID: 69A830D03203405F
4 changed files with 16 additions and 2 deletions

View file

@ -1,5 +1,5 @@
return function (name)
local hl = vim.api.nvim_get_hl(0, { name = name })
local hl = vim.api.nvim_get_hl(0, { name = name })
while hl.link ~= nil do
hl = vim.api.nvim_get_hl(0, { name = hl.link })
end