feat(mapping): deprecate user mappings and add on_attach (#1424)
This commit is contained in:
@@ -400,4 +400,10 @@ function M.array_remove(array, item)
|
||||
end
|
||||
end
|
||||
|
||||
function M.inject_node(f)
|
||||
return function()
|
||||
f(require("nvim-tree.lib").get_node_at_cursor())
|
||||
end
|
||||
end
|
||||
|
||||
return M
|
||||
|
||||
Reference in New Issue
Block a user