doc(#2891): remove unused option hidden.enable
This commit is contained in:
parent
d43ab67d0e
commit
43c3c36c7a
@ -955,7 +955,6 @@ Value can be `"none"`, `"icon"`, `"name"` or `"all"`
|
|||||||
*nvim-tree.renderer.highlight_hidden*
|
*nvim-tree.renderer.highlight_hidden*
|
||||||
Highlight icons and/or names for hidden files (dotfiles) using the
|
Highlight icons and/or names for hidden files (dotfiles) using the
|
||||||
`NvimTreeHiddenFileHL` highlight group.
|
`NvimTreeHiddenFileHL` highlight group.
|
||||||
Requires |nvim-tree.hidden.enable|
|
|
||||||
Value can be `"none"`, `"icon"`, `"name"` or `"all"`
|
Value can be `"none"`, `"icon"`, `"name"` or `"all"`
|
||||||
Type: `string`, Default `"none"`
|
Type: `string`, Default `"none"`
|
||||||
|
|
||||||
@ -1089,8 +1088,7 @@ Icon order and sign column precedence:
|
|||||||
|
|
||||||
*nvim-tree.renderer.icons.show.hidden*
|
*nvim-tree.renderer.icons.show.hidden*
|
||||||
Show a hidden icon, see |renderer.icons.hidden_placement|
|
Show a hidden icon, see |renderer.icons.hidden_placement|
|
||||||
Requires |hidden.enable| `= true`
|
Type: `boolean`, Default: `false`
|
||||||
Type: `boolean`, Default: `true`
|
|
||||||
|
|
||||||
*nvim-tree.renderer.icons.show.diagnostics*
|
*nvim-tree.renderer.icons.show.diagnostics*
|
||||||
Show a diagnostics status icon, see |renderer.icons.diagnostics_placement|
|
Show a diagnostics status icon, see |renderer.icons.diagnostics_placement|
|
||||||
|
|||||||
@ -28,7 +28,7 @@ function DecoratorHidden:new(opts)
|
|||||||
return o
|
return o
|
||||||
end
|
end
|
||||||
|
|
||||||
---Hidden icon: hidden.enable, renderer.icons.show.hidden and node starts with `.` (dotfile).
|
---Hidden icon: renderer.icons.show.hidden and node starts with `.` (dotfile).
|
||||||
---@param node Node
|
---@param node Node
|
||||||
---@return HighlightedString[]|nil icons
|
---@return HighlightedString[]|nil icons
|
||||||
function DecoratorHidden:calculate_icons(node)
|
function DecoratorHidden:calculate_icons(node)
|
||||||
@ -37,7 +37,7 @@ function DecoratorHidden:calculate_icons(node)
|
|||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
---Hidden highlight: hidden.enable, renderer.highlight_hidden and node starts with `.` (dotfile).
|
---Hidden highlight: renderer.highlight_hidden and node starts with `.` (dotfile).
|
||||||
---@param node Node
|
---@param node Node
|
||||||
---@return string|nil group
|
---@return string|nil group
|
||||||
function DecoratorHidden:calculate_highlight(node)
|
function DecoratorHidden:calculate_highlight(node)
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user