summaryrefslogtreecommitdiff
path: root/lua/lvim/core/builtins/alpha/startify.lua
diff options
context:
space:
mode:
authorLostNeophyte <[email protected]>2023-02-18 08:55:05 +0100
committerLostNeophyte <[email protected]>2023-02-18 08:55:05 +0100
commit8f70ecd882cf44567ddbffb469373501492938f9 (patch)
tree1498fd1de08c1aec46fa628701e1b5e9a47c4e3b /lua/lvim/core/builtins/alpha/startify.lua
parent3144585515000a1c3064c6129ded74f662598de1 (diff)
refactor(builtins): move builtins to lvim/builtinrefactor/builtins
Diffstat (limited to 'lua/lvim/core/builtins/alpha/startify.lua')
-rw-r--r--lua/lvim/core/builtins/alpha/startify.lua45
1 files changed, 0 insertions, 45 deletions
diff --git a/lua/lvim/core/builtins/alpha/startify.lua b/lua/lvim/core/builtins/alpha/startify.lua
deleted file mode 100644
index e9d10a07..00000000
--- a/lua/lvim/core/builtins/alpha/startify.lua
+++ /dev/null
@@ -1,45 +0,0 @@
-local M = {}
-
-function M.get_sections()
- local header = {
- type = "text",
- val = {
- [[ __ _ ___ ]],
- [[ / / __ ______ ____ _____| | / (_)___ ___ ]],
- [[ / / / / / / __ \/ __ `/ ___/ | / / / __ `__ \]],
- [[ / /___/ /_/ / / / / /_/ / / | |/ / / / / / / /]],
- [[/_____/\__,_/_/ /_/\__,_/_/ |___/_/_/ /_/ /_/ ]],
- },
- opts = {
- hl = "Label",
- shrink_margin = false,
- -- wrap = "overflow";
- },
- }
-
- local top_buttons = {
- entries = {
- { "e", lvim.icons.ui.NewFile .. " New File", "<CMD>ene!<CR>" },
- },
- }
-
- local bottom_buttons = {
- entries = {
- { "q", "Quit", "<CMD>quit<CR>" },
- },
- }
-
- local footer = {
- type = "group",
- }
-
- return {
- header = header,
- top_buttons = top_buttons,
- bottom_buttons = bottom_buttons,
- -- this is probably broken
- footer = footer,
- }
-end
-
-return M