2021-10-16 18:11:53 +02:00
|
|
|
-- Only allow symbols available in all Lua versions
|
|
|
|
std = "min"
|
|
|
|
|
|
|
|
files[".luacheckrc"].ignore = { "111", "112", "131" }
|
2021-10-16 19:36:46 +02:00
|
|
|
files["config.ld"].ignore = { "111", "113" }
|
2021-10-16 18:11:53 +02:00
|
|
|
|
|
|
|
-- Global objects defined by the C code
|
|
|
|
read_globals = {
|
|
|
|
"awesome",
|
|
|
|
"button",
|
|
|
|
"dbus",
|
|
|
|
"drawable",
|
|
|
|
"drawin",
|
|
|
|
"key",
|
|
|
|
"keygrabber",
|
|
|
|
"mousegrabber",
|
|
|
|
"selection",
|
|
|
|
"tag",
|
|
|
|
"window",
|
|
|
|
"table.unpack",
|
|
|
|
"math.atan2",
|
|
|
|
}
|
|
|
|
|
|
|
|
globals = {
|
|
|
|
"screen",
|
|
|
|
"mouse",
|
|
|
|
"root",
|
|
|
|
"client",
|
|
|
|
}
|
|
|
|
|
|
|
|
-- Enable cache (uses .luacheckcache relative to this rc file).
|
|
|
|
cache = true
|
|
|
|
|
|
|
|
-- vim: filetype=lua:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:textwidth=80
|