refacto: move keypress to actions/init

This commit is contained in:
kiyan
2022-01-21 12:07:54 +01:00
parent 4d22f9487d
commit 2b2bf0721d
4 changed files with 87 additions and 86 deletions

View File

@@ -60,7 +60,7 @@ end
-- TODO: remove this once the cb property is not supported in mappings
function M.nvim_tree_callback(callback_name)
return string.format(":lua require'nvim-tree'.on_keypress('%s')<CR>", callback_name)
return string.format(":lua require'nvim-tree.actions'.on_keypress('%s')<CR>", callback_name)
end
function M.window_options()