mirror of
https://github.com/LunarVim/LunarVim.git
synced 2024-09-21 02:55:09 +02:00
49 lines
956 B
Lua
49 lines
956 B
Lua
|
local M = {}
|
||
|
|
||
|
function M.get_sections()
|
||
|
local header = {
|
||
|
type = "text",
|
||
|
val = {
|
||
|
[[ __ _ ___ ]],
|
||
|
[[ / / __ ______ ____ _____| | / (_)___ ___ ]],
|
||
|
[[ / / / / / / __ \/ __ `/ ___/ | / / / __ `__ \]],
|
||
|
[[ / /___/ /_/ / / / / /_/ / / | |/ / / / / / / /]],
|
||
|
[[/_____/\__,_/_/ /_/\__,_/_/ |___/_/_/ /_/ /_/ ]],
|
||
|
},
|
||
|
opts = {
|
||
|
hl = "Label",
|
||
|
shrink_margin = false,
|
||
|
-- wrap = "overflow";
|
||
|
},
|
||
|
}
|
||
|
|
||
|
local top_buttons = {
|
||
|
entries = {
|
||
|
{ "e", " New File", "<CMD>ene!<CR>" },
|
||
|
},
|
||
|
val = {},
|
||
|
}
|
||
|
|
||
|
local bottom_buttons = {
|
||
|
entries = {
|
||
|
{ "q", "Quit", "<CMD>quit<CR>" },
|
||
|
},
|
||
|
val = {},
|
||
|
}
|
||
|
|
||
|
local footer = {
|
||
|
type = "group",
|
||
|
val = {},
|
||
|
}
|
||
|
|
||
|
return {
|
||
|
header = header,
|
||
|
top_buttons = top_buttons,
|
||
|
bottom_buttons = bottom_buttons,
|
||
|
-- this is probably broken
|
||
|
footer = footer,
|
||
|
}
|
||
|
end
|
||
|
|
||
|
return M
|