Skip to content

Commit 58b6ddb

Browse files
author
zztrieuzz
committed
fix: #74
1 parent 6d269b0 commit 58b6ddb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lua/windline/themes/init.lua

+1-1
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ M.clear_cache = function()
4343
end
4444

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

0 commit comments

Comments
 (0)