From 5f10bb0e004a4ff43d98f8f4d80259867c3b3a9a Mon Sep 17 00:00:00 2001 From: Avinash Thakur <19588421+80avin@users.noreply.github.com> Date: Fri, 14 Mar 2025 11:19:56 +0530 Subject: [PATCH] Update util.lua --- lua/lazy/util.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lua/lazy/util.lua b/lua/lazy/util.lua index 1973ec2..fcc17f3 100644 --- a/lua/lazy/util.lua +++ b/lua/lazy/util.lua @@ -25,7 +25,7 @@ function M.open(uri, opts) if not opts.system and M.file_exists(uri) then return M.float({ style = "", file = uri }) end - if vim.fn.has('nvim-0.10.0') then + if vim.fn.has('nvim-0.10.0') == 1 then local ret = vim.fn.jobstart(cmd, { detach = true }) if ret <= 0 then local msg = {