1
0
mirror of https://github.com/SpaceVim/SpaceVim.git synced 2025-02-03 10:40:04 +08:00
SpaceVim/bundle/nvim-tree.lua/lua/nvim-tree/config.lua
2022-05-19 09:03:59 +08:00

11 lines
367 B
Lua
Vendored

-- INFO: DEPRECATED FILE, DO NOT ADD ANYTHING IN THERE
-- keeping to avoid breaking user configs. Will remove during a weekend.
local M = {}
-- 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.actions'.on_keypress('%s')<CR>", callback_name)
end
return M