fix(visitor/type_mapping): update mapping
This commit is contained in:
parent
3680c1ebb5
commit
c8ff0aaaec
|
@ -4,8 +4,7 @@ local type Node = require("types.Node")
|
|||
local gears_shape_function = "function(cr: any, width: integer, height: integer)"
|
||||
|
||||
local type_map <const>: { string : string } = {
|
||||
awesome = "awesome",
|
||||
Awesome = "awesome",
|
||||
awesome = "Awesome",
|
||||
bool = "boolean",
|
||||
client = "Client",
|
||||
["gears.shape"] = gears_shape_function,
|
||||
|
@ -16,8 +15,10 @@ local type_map <const>: { string : string } = {
|
|||
shape = gears_shape_function,
|
||||
surface = "Surface",
|
||||
tag = "Tag",
|
||||
["wibox.widget"] = "Widget",
|
||||
widget = "Widget",
|
||||
widget = "wibox.widget",
|
||||
|
||||
-- fixes we shouldn't have to do (We need to PR Awesome to fix the doc)
|
||||
timer = "gears.timer",
|
||||
}
|
||||
|
||||
local function get_type(t: string): string
|
||||
|
|
Loading…
Reference in New Issue