refacto: move toggle help and filter toggles into actions
also fix explorer to properly remove element on update when filter is applied
This commit is contained in:
8
lua/nvim-tree/actions/toggle-help.lua
Normal file
8
lua/nvim-tree/actions/toggle-help.lua
Normal file
@@ -0,0 +1,8 @@
|
||||
local M = {}
|
||||
|
||||
function M.fn()
|
||||
require"nvim-tree.view".toggle_help()
|
||||
return require"nvim-tree.lib".redraw()
|
||||
end
|
||||
|
||||
return M
|
||||
Reference in New Issue
Block a user