aboutsummaryrefslogtreecommitdiff
path: root/lua/startup/buildingblocks/headers.lua
diff options
context:
space:
mode:
authormax397574 <[email protected]>2021-11-01 14:15:31 +0100
committermax397574 <[email protected]>2021-11-01 14:15:31 +0100
commitfa28ef4a6ed037a528d18dfcbdd4ee192e45591b (patch)
tree770b9f57387df32938dbdc85dd16ad1570eb702a /lua/startup/buildingblocks/headers.lua
parentfcf2cb02a3c4a4946a86e7ec4d9414de2f372041 (diff)
refactor(buildingblocks): 🔄don't use local M
Diffstat (limited to 'lua/startup/buildingblocks/headers.lua')
-rw-r--r--lua/startup/buildingblocks/headers.lua10
1 files changed, 5 insertions, 5 deletions
diff --git a/lua/startup/buildingblocks/headers.lua b/lua/startup/buildingblocks/headers.lua
index 4df1798..d95511a 100644
--- a/lua/startup/buildingblocks/headers.lua
+++ b/lua/startup/buildingblocks/headers.lua
@@ -1,6 +1,6 @@
-local M = {}
+local headers = {}
-function M.default_header()
+function headers.default_header()
return {
" /$$ ",
" |__/ ",
@@ -13,7 +13,7 @@ function M.default_header()
}
end
-function M.hydra()
+function headers.hydra()
return {
" ⣴⣶⣤⡤⠦⣤⣀⣤⠆ ⣈⣭⣿⣶⣿⣦⣼⣆ ",
" ⠉⠻⢿⣿⠿⣿⣿⣶⣦⠤⠄⡠⢾⣿⣿⡿⠋⠉⠉⠻⣿⣿⡛⣦ ",
@@ -29,7 +29,7 @@ function M.hydra()
}
end
-function M.neovim_logo()
+function headers.neovim_logo()
return {
"⠀⠀⠀⠀⠀⠀⠀⠀⣀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⣄⠀⠀⠀⠀⠀⠀⠀",
"⠀⠀⠀⠀⠀⠀⣀⣶⣿⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⣿⣷⣄⠀⠀⠀⠀⠀",
@@ -53,4 +53,4 @@ function M.neovim_logo()
}
end
-return M
+return headers