added aabb as an acronym for camelCase

This commit is contained in:
Max Cahill 2021-07-23 14:26:26 +10:00
parent f835dd6e66
commit 1a40c1ef27

View File

@ -95,7 +95,7 @@ function _batteries:camelCase()
end end
--any acronyms to fully capitalise to avoid "Rgb" and the like --any acronyms to fully capitalise to avoid "Rgb" and the like
local acronyms = _batteries.set{"rgb", "rgba", "argb", "hsl", "xy", "gc",} local acronyms = _batteries.set{"rgb", "rgba", "argb", "hsl", "xy", "gc", "aabb",}
local function caps_acronym(s) local function caps_acronym(s)
if acronyms:has(s) then if acronyms:has(s) then
s = s:upper() s = s:upper()