* feat(icon_placement): Allow right_align icon_placemente for decorator using ext_marks nvim api * feat(icon_placement): Allow right_align icon_placemente for decorator using ext_marks nvim api feat(icon_placement): Allow right_align icon_placemente for decorator using ext_marks nvim api * feat(icon_placement): consolidate doc * fix: extra namespace added to avoid colision between right_align and full_name features * feat(hidden_display): Allow fine grained rendering of hidden files in a folder * feat(hidden_display): update defaults in Builder to allow rendering * feat(hidden_display): Rename opts function name for the feature * feat(#2349): add "right_align" option for renderer.icons.*_placement (#2846) * feat(icon_placement): Allow right_align icon_placemente for decorator using ext_marks nvim api * feat(icon_placement): Allow right_align icon_placemente for decorator using ext_marks nvim api feat(icon_placement): Allow right_align icon_placemente for decorator using ext_marks nvim api * feat(icon_placement): consolidate doc * fix: extra namespace added to avoid colision between right_align and full_name features * style: rename namespace_id --------- Co-authored-by: Alexander Courtis <alex@courtis.org> * docs: update docs * feat(hidden_display): Simplification and better performance by not sorting and grouping virtual lines * Update doc/nvim-tree-lua.txt Co-authored-by: Alexander Courtis <alex@courtis.org> * style: hidden_stats is better * docs: change to hidden_stats * add separate namespace for virtual lines * help: add highlight group --------- Co-authored-by: Alexander Courtis <alex@courtis.org>
37 lines
925 B
Lua
37 lines
925 B
Lua
---@meta
|
|
|
|
---@class ParentNode
|
|
---@field name string
|
|
|
|
---@class BaseNode
|
|
---@field absolute_path string
|
|
---@field executable boolean
|
|
---@field fs_stat uv.fs_stat.result|nil
|
|
---@field git_status GitStatus|nil
|
|
---@field hidden boolean
|
|
---@field is_dot boolean
|
|
---@field name string
|
|
---@field parent DirNode
|
|
---@field type string
|
|
---@field watcher function|nil
|
|
---@field diag_status DiagStatus|nil
|
|
|
|
---@class DirNode: BaseNode
|
|
---@field has_children boolean
|
|
---@field group_next Node|nil
|
|
---@field nodes Node[]
|
|
---@field open boolean
|
|
---@field hidden_stats table -- Each field of this table is a key for source and value for count
|
|
|
|
---@class FileNode: BaseNode
|
|
---@field extension string
|
|
|
|
---@class SymlinkDirNode: DirNode
|
|
---@field link_to string
|
|
|
|
---@class SymlinkFileNode: FileNode
|
|
---@field link_to string
|
|
|
|
---@alias SymlinkNode SymlinkDirNode|SymlinkFileNode
|
|
---@alias Node ParentNode|DirNode|FileNode|SymlinkNode|Explorer
|