Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions doc/nvim-tree-lua.txt
Original file line number Diff line number Diff line change
Expand Up @@ -1640,7 +1640,7 @@ Config: filters *nvim-tree-config-filters*

`U `{custom}` `|nvim_tree.api.filter.custom.toggle()|
Disable specific file/directory names via:
• a list of backslash escaped |vim.regex| strings e.g. `"^\\.git""`
• a list of backslash escaped |regular-expression| e.g. `"^\\.git""`
• a function passed the absolute path of the directory.

All filters including live filter may be disabled via {enable} and toggled
Expand All @@ -1666,8 +1666,8 @@ Config: filters *nvim-tree-config-filters*
Config: live_filter *nvim-tree-config-live-filter*

*nvim_tree.config.live_filter*
Live filter allows you to filter the tree nodes dynamically, based on
regex matching, see |vim.regex|
Live filter allows you to filter the tree nodes dynamically using
|regular-expression| matching.

This feature is bound to the `f` key by default. The filter can be cleared
with the `F` key by default.
Expand All @@ -1691,7 +1691,7 @@ Config: filesystem_watchers *nvim-tree-config-filesystem-watchers*
directory changes, resulting in better performance.

Watchers may be disabled for absolute directory paths via {ignore_dirs}.
• A list of |vim.regex| to match a path, backslash escaped e.g.
• A list of |regular-expression| to match a path, backslash escaped e.g.
`"my-proj/\\.build$"` OR
• A function that is passed an absolute path and returns `true` to disable
This may be useful when a path is not in `.gitignore` or git integration
Expand Down
2 changes: 1 addition & 1 deletion lua/nvim-tree/_meta/config/filesystem_watchers.lua
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ error("Cannot require a meta file")
---With this feature, the tree will be partially updated on specific directory changes, resulting in better performance.
---
---Watchers may be disabled for absolute directory paths via {ignore_dirs}.
--- - A list of [vim.regex] to match a path, backslash escaped e.g. `"my-proj/\\.build$"` OR
--- - A list of [regular-expression] to match a path, backslash escaped e.g. `"my-proj/\\.build$"` OR
--- - A function that is passed an absolute path and returns `true` to disable
---This may be useful when a path is not in `.gitignore` or git integration is disabled.
---
Expand Down
2 changes: 1 addition & 1 deletion lua/nvim-tree/_meta/config/filters.lua
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ error("Cannot require a meta file")
---
---`U `{custom}` `|nvim_tree.api.filter.custom.toggle()|
---Disable specific file/directory names via:
---- a list of backslash escaped |vim.regex| strings e.g. `"^\\.git""`
---- a list of backslash escaped |regular-expression| e.g. `"^\\.git""`
---- a function passed the absolute path of the directory.
---
---All filters including live filter may be disabled via {enable} and toggled with |nvim_tree.api.filter.toggle()|
Expand Down
2 changes: 1 addition & 1 deletion lua/nvim-tree/_meta/config/live_filter.lua
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ error("Cannot require a meta file")



--- Live filter allows you to filter the tree nodes dynamically, based on regex matching, see [vim.regex]
--- Live filter allows you to filter the tree nodes dynamically using [regular-expression] matching.
---
--- This feature is bound to the `f` key by default. The filter can be cleared with the `F` key by default.
---
Expand Down
Loading