Skip to content

Commit

Permalink
fix: #74
Browse files Browse the repository at this point in the history
  • Loading branch information
zztrieuzz committed Jun 5, 2024
1 parent 6d269b0 commit 58b6ddb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lua/windline/themes/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ M.clear_cache = function()
end

M.get_hl_color = function(group_name)
local ok, hl = pcall(vim.api.nvim_get_hl, 0, { name = group_name })
local ok, hl = pcall(vim.api.nvim_get_hl, 0, { name = group_name, link = false})
if not ok then return nil, nil end
local fg = hl.fg and '#' .. bit.tohex(hl.fg, 6)
local bg = hl.bg and '#' .. bit.tohex(hl.bg, 6)
Expand Down

0 comments on commit 58b6ddb

Please sign in to comment.