Update to nixpgks 24.05
This commit is contained in:
parent
5247160b43
commit
a6293a1ba4
46 changed files with 475 additions and 991 deletions
home/features/neovim/config/lua/my
|
@ -130,11 +130,17 @@ function M.configure(opts, context)
|
|||
opts = opts(context)
|
||||
end
|
||||
|
||||
if type(opts) ~= "table" then
|
||||
-- TODO: throw
|
||||
if opts == nil then
|
||||
return
|
||||
end
|
||||
|
||||
if type(opts) ~= "table" then
|
||||
return error(
|
||||
"Cannot handle non-table options for tempest runtime, "
|
||||
.. vim.inspect(opts)
|
||||
)
|
||||
end
|
||||
|
||||
if type(opts.mkContext) == "function" then
|
||||
context = opts.mkContext(context)
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue