feat: support puc lua

This commit is contained in:
phanium 2025-09-10 20:42:53 +08:00
commit b16d225786
4 changed files with 4 additions and 7 deletions

View file

@ -23,7 +23,7 @@ M.defaults = {
local_spec = true, -- load project specific .lazy.lua spec files. They will be added at the end of the spec.
lockfile = vim.fn.stdpath("config") .. "/lazy-lock.json", -- lockfile generated after running update.
---@type number? limit the maximum amount of concurrent tasks
concurrency = jit.os:find("Windows") and (vim.uv.available_parallelism() * 2) or nil,
concurrency = (vim.fn.has("win32") == 1 or vim.fn.has("win64") == 1) and (vim.uv.available_parallelism() * 2) or nil,
git = {
-- defaults for the `Lazy log` command
-- log = { "--since=3 days ago" }, -- show commits from the last 3 days

View file

@ -5,7 +5,7 @@ local M = {}
---@type LazyProfile[]
M._profiles = { { name = "lazy" } }
M.is_win = jit.os:find("Windows")
M.is_win = vim.fn.has("win32") == 1 or vim.fn.has("win64") == 1
---@param data (string|{[string]:string})?
---@param time number?