Skip to content

Commit

Permalink
refactor: fix lint issues
Browse files Browse the repository at this point in the history
  • Loading branch information
GCrispino committed Dec 31, 2024
1 parent e645b5f commit 404aae7
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion lua/nvim-tree/actions/node/delete-buffer.lua
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ function M.fn(filename, opts)
utils.delete_buffer("delete", filename, opts)
end

function M.setup(opts)
function M.setup(_)
end

return M
2 changes: 1 addition & 1 deletion lua/nvim-tree/actions/node/wipe-buffer.lua
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ function M.fn(filename, opts)
utils.delete_buffer("wipe", filename, opts)
end

function M.setup(opts)
function M.setup(_)
end

return M
4 changes: 2 additions & 2 deletions lua/nvim-tree/api.lua
Original file line number Diff line number Diff line change
Expand Up @@ -290,10 +290,10 @@ Api.node.navigate.opened.prev = wrap_node(actions.moves.item.fn({ where = "prev"
---@class ApiNodeDeleteWipeBufferOpts
---@field force boolean|nil default false

Api.node.buffer.delete = wrap_node(function (node, opts)
Api.node.buffer.delete = wrap_node(function(node, opts)
actions.node.delete_buffer.fn(node.absolute_path, opts)
end)
Api.node.buffer.wipe = wrap_node(function (node, opts)
Api.node.buffer.wipe = wrap_node(function(node, opts)
actions.node.wipe_buffer.fn(node.absolute_path, opts)
end)

Expand Down

0 comments on commit 404aae7

Please sign in to comment.