Skip to content

Commit 458f6f9

Browse files
committed
fix version check
1 parent 2a497cc commit 458f6f9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lua/nvim-tree.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -495,7 +495,7 @@ local function validate_options(conf)
495495
end
496496

497497
function M.setup(conf)
498-
if vim.fn.has "nvim-0.7" == 1 then
498+
if vim.fn.has "nvim-0.7" == 0 then
499499
utils.warn "nvim-tree.lua requires Neovim 0.7 or higher"
500500
end
501501

0 commit comments

Comments
 (0)