mirror of
https://github.com/folke/lazy.nvim.git
synced 2025-04-11 09:52:31 +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
|
if not opts.system and M.file_exists(uri) then
|
||||||
return M.float({ style = "", file = uri })
|
return M.float({ style = "", file = uri })
|
||||||
end
|
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 })
|
local ret = vim.fn.jobstart(cmd, { detach = true })
|
||||||
if ret <= 0 then
|
if ret <= 0 then
|
||||||
local msg = {
|
local msg = {
|
||||||
|
|
Loading…
Add table
Reference in a new issue