mirror of
https://github.com/1bardesign/batteries.git
synced 2024-09-20 00:42:15 +00:00
added aabb as an acronym for camelCase
This commit is contained in:
parent
f835dd6e66
commit
1a40c1ef27
2
init.lua
2
init.lua
@ -95,7 +95,7 @@ function _batteries:camelCase()
|
||||
end
|
||||
|
||||
--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)
|
||||
if acronyms:has(s) then
|
||||
s = s:upper()
|
||||
|
Loading…
Reference in New Issue
Block a user