Skip to content

Commit

Permalink
chore: resolve undefined-field
Browse files Browse the repository at this point in the history
  • Loading branch information
alex-courtis committed Oct 29, 2024
1 parent 33333a0 commit 7988cb9
Showing 1 changed file with 15 additions and 1 deletion.
16 changes: 15 additions & 1 deletion lua/nvim-tree/renderer/components/icons.lua
Original file line number Diff line number Diff line change
@@ -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 ""
Expand Down

0 comments on commit 7988cb9

Please sign in to comment.