chore: resolve undefined-field

This commit is contained in:
Alexander Courtis 2024-10-29 16:37:04 +11:00
parent 33333a0b17
commit 7988cb9882

View File

@ -1,6 +1,20 @@
local DirectoryLinkNode = nil --circular dependency
local M = { i = {} }
---@class DevIcon
---@field icon string
---@field color string
---@field cterm_color string
---@field name string
---@class DevIcons
---@field get_icon fun(name: string, ext: string?): string?, string?
---@field get_default_icon fun(): DevIcon
local M = {
i = {},
---@type DevIcons?
devicons = nil,
}
local function config_symlinks()
M.i.symlink = #M.config.glyphs.symlink > 0 and M.config.glyphs.symlink or ""