1
Fork 0
nixos-system-config/users/hu/packages/nvim/config/lua/util/hl.lua

7 lines
178 B
Lua

return function (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
return hl
end