We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fe466d3 commit 3a55b5dCopy full SHA for 3a55b5d
lua/nvim-tree/utils.lua
@@ -538,14 +538,6 @@ function M.array_remove_nils(array)
538
end, array)
539
end
540
541
----@param f fun(node: Node?)
542
----@return function
543
-function M.inject_node(f)
544
- return function()
545
- f(require("nvim-tree.lib").get_node_at_cursor())
546
- end
547
-end
548
-
549
--- Is the buffer named NvimTree_[0-9]+ a tree? filetype is "NvimTree" or not readable file.
550
--- This is cheap, as the readable test should only ever be needed when resuming a vim session.
551
---@param bufnr number|nil may be 0 or nil for current
0 commit comments