From ef4f3277b02cc19edff8955a74ed793d5d137ff5 Mon Sep 17 00:00:00 2001 From: Daniel Hahler Date: Thu, 3 Jan 2019 14:30:21 +0100 Subject: [PATCH] doc: fix @treturn usage with index_theme:get_per_directory_keys --- lib/menubar/index_theme.lua | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/lib/menubar/index_theme.lua b/lib/menubar/index_theme.lua index b0d9f2e9..3ede62a9 100644 --- a/lib/menubar/index_theme.lua +++ b/lib/menubar/index_theme.lua @@ -149,11 +149,11 @@ end --- Query (part of) per-directory keys of a given subdirectory name. -- @deprecated menubar.index_theme:get_per_directory_keys -- @tparam table subdirectory Icon theme's subdirectory --- @treturn[1] string Value of the `Type` key --- @treturn[2] number Value of the `Size` key --- @treturn[3] number VAlue of the `MinSize` key --- @treturn[4] number Value of the `MaxSize` key --- @treturn[5] number Value of the `Threshold` key +-- @treturn string Value of the `Type` key +-- @treturn number Value of the `Size` key +-- @treturn number VAlue of the `MinSize` key +-- @treturn number Value of the `MaxSize` key +-- @treturn number Value of the `Threshold` key function index_theme:get_per_directory_keys(subdirectory) local keys = self.per_directory_keys[subdirectory] return keys[TYPE], keys[SIZE], keys[MINSIZE], keys[MAXSIZE], keys[THRESHOLD]