rework: check description
docs: removed lines about plenary removal: plenary chore: optmized presets load to default nil as 'max' rework: changed window format of manager and added coloring Future plans: Add custom highlight-groups for Polydev to configure border and background or manager
This commit is contained in:
@@ -29,14 +29,7 @@ local presets = {
|
||||
---@param preset string
|
||||
---@return table|nil
|
||||
function M.getPresets(preset)
|
||||
if presets[preset] ~= nil then
|
||||
return presets[preset]
|
||||
elseif presets[preset] == nil then
|
||||
return nil
|
||||
else
|
||||
print("Preset option: " .. preset .. " does not exist")
|
||||
end
|
||||
return {}
|
||||
return presets[preset]
|
||||
end
|
||||
|
||||
return M
|
||||
|
||||
Reference in New Issue
Block a user