ci: systematically pull colors from nvim-web-devicons
This commit is contained in:
parent
ba45790910
commit
e9a1612365
4 changed files with 124 additions and 73 deletions
|
|
@ -29,9 +29,11 @@ function M.setup()
|
|||
end
|
||||
|
||||
---@param icon_name string
|
||||
---@return string hl_group
|
||||
---@return string? hl_group
|
||||
function M.get(icon_name)
|
||||
return to_hl_group(icon_name)
|
||||
if colors[icon_name] then
|
||||
return to_hl_group(icon_name)
|
||||
end
|
||||
end
|
||||
|
||||
return M
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue