This reverts commit 38aac09151.
This commit is contained in:
@@ -14,7 +14,7 @@ local M = {
|
||||
}
|
||||
|
||||
---Diagnostics highlight group and position when highlight_diagnostics.
|
||||
---@param node Node
|
||||
---@param node table
|
||||
---@return HL_POSITION position none when no status
|
||||
---@return string|nil group only when status
|
||||
function M.get_highlight(node)
|
||||
@@ -38,7 +38,7 @@ function M.get_highlight(node)
|
||||
end
|
||||
|
||||
---diagnostics icon if there is a status
|
||||
---@param node Node
|
||||
---@param node table
|
||||
---@return HighlightedString|nil modified icon
|
||||
function M.get_icon(node)
|
||||
if node and M.config.diagnostics.enable and M.config.renderer.icons.show.diagnostics then
|
||||
|
||||
@@ -59,7 +59,7 @@ end
|
||||
---@param depth integer
|
||||
---@param idx integer
|
||||
---@param nodes_number integer
|
||||
---@param node Node
|
||||
---@param node table
|
||||
---@param markers table
|
||||
---@return HighlightedString[]
|
||||
function M.get_indent_markers(depth, idx, nodes_number, node, markers, early_stop)
|
||||
@@ -79,7 +79,7 @@ function M.get_indent_markers(depth, idx, nodes_number, node, markers, early_sto
|
||||
return { str = str, hl = { "NvimTreeIndentMarker" } }
|
||||
end
|
||||
|
||||
---@param node Node
|
||||
---@param node table
|
||||
---@return HighlightedString[]|nil
|
||||
function M.get_arrows(node)
|
||||
if not M.config.icons.show.folder_arrow then
|
||||
|
||||
Reference in New Issue
Block a user