We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 275b001 commit 596a24bCopy full SHA for 596a24b
lua/nvim-tree/actions/node/system-open.lua
@@ -51,11 +51,9 @@ end
51
52
---@param node Node
53
local function native(node)
54
- local path = node.link_to or node.absolute_path
+ local _, err = vim.ui.open(node.link_to or node.absolute_path)
55
56
- local _, err = vim.ui.open(path)
57
-
58
- -- err only provided on opener executable not found; path not useful in that case
+ -- err only provided on opener executable not found hence logging path is not useful
59
if err then
60
notify.warn(err)
61
end
0 commit comments