Skip to content

Commit

Permalink
fix(registry): schedule vim.fn calls in FileRegistrySource (#1471)
Browse files Browse the repository at this point in the history
  • Loading branch information
williamboman committed Aug 27, 2023
1 parent 34b3d0d commit 1c77412
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lua/mason-registry/sources/file.lua
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,7 @@ end
---@async
function FileRegistrySource:install()
return Result.try(function(try)
a.scheduler()
if vim.fn.executable "yq" ~= 1 then
return Result.failure "yq is not installed."
end
Expand Down

0 comments on commit 1c77412

Please sign in to comment.