Skip to content

Commit 1515ddf

Browse files
committed
fix version check
1 parent 575082a commit 1515ddf

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
@@ -502,7 +502,7 @@ local function validate_options(conf)
502502
end
503503

504504
function M.setup(conf)
505-
if vim.fn.has "nvim-0.7" == 1 then
505+
if vim.fn.has "nvim-0.7" == 0 then
506506
utils.warn "nvim-tree.lua requires Neovim 0.7 or higher"
507507
end
508508

0 commit comments

Comments
 (0)