chore(Type_Info): add `type_fix`es
ci/woodpecker/pr/build Pipeline failed Details
ci/woodpecker/pr/docker-build Pipeline was successful Details
ci/woodpecker/pr/lint Pipeline failed Details

This commit is contained in:
Aire-One 2022-12-28 18:55:04 +01:00
parent a2a063882a
commit c73b33bc24
1 changed files with 8 additions and 3 deletions

View File

@ -2,16 +2,21 @@ local List = require "pl.List"
local Map = require "pl.Map" local Map = require "pl.Map"
local type_fix <const> : Map<string, string> = Map({ local type_fix <const> : Map<string, string> = Map({
awesome = "awesome",
Awesome = "awesome",
bool = "boolean", bool = "boolean",
client = "Client", client = "client",
Client = "client",
["gears.shape"] = "Shape", ["gears.shape"] = "Shape",
["gears.surface"] = "Surface", ["gears.surface"] = "Surface",
image = "Image", image = "Image",
int = "integer", int = "integer",
screen = "Screen", screen = "screen",
Screen = "screen",
shape = "Shape", shape = "Shape",
surface = "Surface", surface = "Surface",
tag = "Tag", tag = "tag",
Tag = "tag",
["wibox.widget"] = "Widget", ["wibox.widget"] = "Widget",
widget = "Widget", widget = "Widget",
}) })