mirror of
https://github.com/nvim-tree/nvim-tree.lua
synced 2024-09-16 14:34:03 +02:00
doc(#2891): remove unused option hidden.enable
This commit is contained in:
parent
d43ab67d0e
commit
43c3c36c7a
2 changed files with 3 additions and 5 deletions
|
@ -955,7 +955,6 @@ Value can be `"none"`, `"icon"`, `"name"` or `"all"`
|
|||
*nvim-tree.renderer.highlight_hidden*
|
||||
Highlight icons and/or names for hidden files (dotfiles) using the
|
||||
`NvimTreeHiddenFileHL` highlight group.
|
||||
Requires |nvim-tree.hidden.enable|
|
||||
Value can be `"none"`, `"icon"`, `"name"` or `"all"`
|
||||
Type: `string`, Default `"none"`
|
||||
|
||||
|
@ -1089,8 +1088,7 @@ Icon order and sign column precedence:
|
|||
|
||||
*nvim-tree.renderer.icons.show.hidden*
|
||||
Show a hidden icon, see |renderer.icons.hidden_placement|
|
||||
Requires |hidden.enable| `= true`
|
||||
Type: `boolean`, Default: `true`
|
||||
Type: `boolean`, Default: `false`
|
||||
|
||||
*nvim-tree.renderer.icons.show.diagnostics*
|
||||
Show a diagnostics status icon, see |renderer.icons.diagnostics_placement|
|
||||
|
|
|
@ -28,7 +28,7 @@ function DecoratorHidden:new(opts)
|
|||
return o
|
||||
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
|
||||
---@return HighlightedString[]|nil icons
|
||||
function DecoratorHidden:calculate_icons(node)
|
||||
|
@ -37,7 +37,7 @@ function DecoratorHidden:calculate_icons(node)
|
|||
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
|
||||
---@return string|nil group
|
||||
function DecoratorHidden:calculate_highlight(node)
|
||||
|
|
Loading…
Reference in a new issue