fix(ci): luacats support

This commit is contained in:
Barrett Ruth 2026-02-23 17:25:57 -05:00
parent 747e7b6222
commit 6a8668fab5
Signed by: barrett
GPG key ID: A6C96C9349D2FC81
6 changed files with 121 additions and 0 deletions

View file

@ -1,6 +1,8 @@
local mapping = require('nonicons.mapping')
local resolve_mod = require('nonicons.resolve')
---@param name string
---@return string?
local function char(name)
local code = mapping[name]
if code then
@ -8,8 +10,12 @@ local function char(name)
end
end
---@type string
local fallback_icon
---@param name string?
---@param ext string?
---@return string
local function resolve(name, ext)
local key = resolve_mod.resolve_name(name, ext)
if key then