aboutsummaryrefslogtreecommitdiff
path: root/lua/startup/functions.lua
diff options
context:
space:
mode:
authormax397574 <[email protected]>2021-12-09 20:31:14 +0100
committermax397574 <[email protected]>2021-12-09 20:31:14 +0100
commitdb64d76a5e5edc509ba42cccc476943f186ba141 (patch)
tree76780d75bf5ff113184efa174498a91bba74a466 /lua/startup/functions.lua
parent5aaffe9c0175756d5534c5554db65994aa3fdb0d (diff)
fix(function): fix annotations
Diffstat (limited to 'lua/startup/functions.lua')
-rw-r--r--lua/startup/functions.lua6
1 files changed, 3 insertions, 3 deletions
diff --git a/lua/startup/functions.lua b/lua/startup/functions.lua
index f0985e3..292584d 100644
--- a/lua/startup/functions.lua
+++ b/lua/startup/functions.lua
@@ -7,7 +7,7 @@ local functions = {}
local quotes = require("startup.quotes")
---Returns a random programming quote
----@return table quote Lines of text for the quote
+---@return table: Lines of text for the quote
function functions.quote()
math.randomseed(os.clock())
local index = math.random() * #quotes
@@ -15,7 +15,7 @@ function functions.quote()
end
---Returns a string with the number of loaded Packer Plugins
----@return string PluginInfo String with info about the number of loaded plugins
+---@return string: String with info about the number of loaded plugins
function functions.packer_plugins()
return {
string.format(
@@ -26,7 +26,7 @@ function functions.packer_plugins()
end
---Returns the current date and time
----@return table date_time Table with a string for the date and one for the time
+---@return table: Table with a string for the date and one for the time
function functions.date_time()
local clock = " " .. os.date("%H:%M")
local date = " " .. os.date("%d-%m-%y")