feat: add api.tree.toggle_enable_filters (#2706)

* feat: toggle filters

* naming refactoring

* change name to enable

* fix default opt

* fix api name

* update doc

* remove default keybinding, toggle live filter

* add API doc

---------

Co-authored-by: Alexander Courtis <alex@courtis.org>
This commit is contained in:
Denys Lytviak
2024-03-16 02:35:13 +01:00
committed by GitHub
parent 707b24af91
commit f7c09bd72e
6 changed files with 29 additions and 0 deletions

View File

@@ -41,4 +41,9 @@ function M.dotfiles()
reload()
end
function M.enable()
filters.config.enable = not filters.config.enable
reload()
end
return M