refacto: move keypress to actions/init
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user