--https://github.com/LazyVim/LazyVim/blob/main/lua/lazyvim/util/ui.lua ---@class lib.lazyvim.ui local M = {} ---@return {fg?:string}? function M.fg(name) local hl = vim.api.nvim_get_hl(0, { name = name, link = false }) local fg = hl and hl.fg or nil return fg and { fg = string.format('#%06x', fg) } or nil end return M