mirror of
https://github.com/folke/lazy.nvim.git
synced 2025-04-04 06:57:34 +00:00
Update util.lua
This commit is contained in:
parent
d1f6c3c6ee
commit
5f10bb0e00
1 changed files with 1 additions and 1 deletions
|
@ -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 = {
|
||||
|
|
Loading…
Add table
Reference in a new issue