From 7fdca3067326e56b131e51df5762e7a1045a1df1 Mon Sep 17 00:00:00 2001 From: Alexander Courtis Date: Sat, 26 Oct 2024 12:00:01 +1100 Subject: [PATCH] chore: resolve undefined-field --- lua/nvim-tree/renderer/decorator/git.lua | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/lua/nvim-tree/renderer/decorator/git.lua b/lua/nvim-tree/renderer/decorator/git.lua index 422a3b53..67ba1ad1 100644 --- a/lua/nvim-tree/renderer/decorator/git.lua +++ b/lua/nvim-tree/renderer/decorator/git.lua @@ -9,10 +9,11 @@ local DirectoryNode = require("nvim-tree.node.directory") ---@class (exact) GitHighlightedString: HighlightedString ---@field ord number decreasing priority ----@alias GitStatuses "deleted"|"ignored"|"renamed"|"staged"|"unmerged"|"unstaged"|"untracked" ----@alias GitIconsByStatus table human status +---@alias GitStatusStrings "deleted" | "ignored" | "renamed" | "staged" | "unmerged" | "unstaged" | "untracked" + +---@alias GitIconsByStatus table human status ---@alias GitIconsByXY table porcelain status ----@alias GitGlyphs table from opts +---@alias GitGlyphs table from opts ---@class (exact) DecoratorGit: Decorator ---@field file_hl_by_xy table?