chore(secrets): support table of string (#500)

Signed-off-by: Aaron Pham <contact@aarnphm.xyz>
This commit is contained in:
Aaron Pham
2024-09-03 21:47:01 -04:00
committed by GitHub
parent b46eec2a84
commit d7d476ddf5
7 changed files with 83 additions and 116 deletions

View File

@@ -201,7 +201,7 @@ function M.setup(opts)
},
}
)
if not M.options.silent_warning then
if not M.options.silent_warning == nil then
-- set silent_warning to true if debug is false
M.options.silent_warning = not M.options.debug
end
@@ -307,11 +307,4 @@ M.BASE_PROVIDER_KEYS = {
"use_xml_format",
}
---@return {width: integer, height: integer}
M.get_sidebar_layout_options = function()
local width = M.get_window_width()
local height = vim.o.lines
return { width = width, height = height }
end
return M