diff --git a/nvim/lua/lib/lazyvim/ui.lua b/nvim/lua/lib/lazyvim/ui.lua index 85089e7..d869398 100644 --- a/nvim/lua/lib/lazyvim/ui.lua +++ b/nvim/lua/lib/lazyvim/ui.lua @@ -25,7 +25,7 @@ end ---@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 hl.foreground + local fg = hl and hl.fg or nil return fg and { fg = string.format('#%06x', fg) } or nil end