From 8efb1f74e023c7aba33963d4a4681e29d9e30a55 Mon Sep 17 00:00:00 2001 From: Niza Toshpulatov Date: Fri, 17 May 2024 14:24:40 +0200 Subject: [PATCH] Make setup function arguments optional --- lua/rpm/interface.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lua/rpm/interface.lua b/lua/rpm/interface.lua index 8fc45c1..80556f7 100644 --- a/lua/rpm/interface.lua +++ b/lua/rpm/interface.lua @@ -244,9 +244,9 @@ function M.clean() end ---@class SetupOptions ----@field after_init fun() +---@field after_init? fun() ----@param opts SetupOptions +---@param opts? SetupOptions ---@return nil function M.setup(opts) local options = opts or {}