From 90ddbb9cd0a7304c5667700f00b2449640b6af1d Mon Sep 17 00:00:00 2001 From: Emmanuel Lepage Vallee Date: Thu, 5 Dec 2019 23:51:00 -0500 Subject: [PATCH] doc: Add `local` in the launcher example. It caused some versions of luacheck to bark. --- tests/examples/awful/widget/launcher/default.lua | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tests/examples/awful/widget/launcher/default.lua b/tests/examples/awful/widget/launcher/default.lua index c43f5a82a..73faf85a1 100644 --- a/tests/examples/awful/widget/launcher/default.lua +++ b/tests/examples/awful/widget/launcher/default.lua @@ -18,6 +18,7 @@ local mytaglist = awful.widget.taglist(screen[1], awful.widget.taglist.filter.al local mytasklist = awful.widget.tasklist(screen[1], awful.widget.tasklist.filter.currenttags, {}) --DOC_HIDE local hotkeys_popup = nil --DOC_HIDE + local --DOC_HIDE myawesomemenu = { { "hotkeys", function() hotkeys_popup.show_help(nil, awful.screen.focused()) end }, { "manual", "xterm" .. " -e man awesome" }, @@ -27,6 +28,7 @@ local hotkeys_popup = nil --DOC_HIDE --DOC_NEWLINE + local --DOC_HIDE mymainmenu = awful.menu({ items = { { "awesome", myawesomemenu, beautiful.awesome_icon }, { "open terminal", "xterm"} } @@ -34,6 +36,7 @@ local hotkeys_popup = nil --DOC_HIDE --DOC_NEWLINE + local --DOC_HIDE mylauncher = awful.widget.launcher({ image = beautiful.awesome_icon, menu = mymainmenu })