Skip to content

Commit 02ccbcd

Browse files
authored
fix: system open native requires nvim 0.10 (#3309)
1 parent 3603f06 commit 02ccbcd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lua/nvim-tree/actions/node/system-open.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ end
7676
---@param node Node
7777
function M.fn(node)
7878
-- TODO #2430 always use native once 0.10 is the minimum neovim version
79-
if vim.fn.has("nvim-0.19") == 1 and #config.g.system_open.cmd == 0 then
79+
if vim.fn.has("nvim-0.10") == 1 and #config.g.system_open.cmd == 0 then
8080
native(node)
8181
else
8282
user(node)

0 commit comments

Comments
 (0)