aboutsummaryrefslogtreecommitdiff
path: root/lua/startup
diff options
context:
space:
mode:
Diffstat (limited to 'lua/startup')
-rw-r--r--lua/startup/themes/default.lua3
-rw-r--r--lua/startup/themes/evil_startup.lua13
-rw-r--r--lua/startup/themes/startify.lua30
3 files changed, 33 insertions, 13 deletions
diff --git a/lua/startup/themes/default.lua b/lua/startup/themes/default.lua
index 30fda3a..e319a7a 100644
--- a/lua/startup/themes/default.lua
+++ b/lua/startup/themes/default.lua
@@ -48,8 +48,7 @@ local settings = {
options = {
mapping_keys = true,
empty_lines_between_mappings = true,
- oldfiles_amount = 5,
- paddings = { 3, 4 },
+ paddings = { 1, 3, 3, 0 },
},
colors = {
background = "#1f2227",
diff --git a/lua/startup/themes/evil_startup.lua b/lua/startup/themes/evil_startup.lua
index 002201b..9bf4879 100644
--- a/lua/startup/themes/evil_startup.lua
+++ b/lua/startup/themes/evil_startup.lua
@@ -21,7 +21,7 @@ local settings = {
body = {
type = "mapping",
align = "center",
- section = true,
+ fold = true,
title = "Basic Commands",
margin = 5,
content = {
@@ -40,20 +40,20 @@ local settings = {
type = "oldfiles",
oldfiles_directory = true,
align = "center",
- section = true,
+ fold = true,
title = "Oldfiles of Directory",
margin = 5,
content = {},
highlight = "TSString",
default_color = "#FFFFFF",
command = "",
- oldfiles_amount = 10,
+ oldfiles_amount = 5,
},
footer = {
type = "oldfiles",
oldfiles_directory = false,
align = "center",
- section = true,
+ fold = true,
title = "Oldfiles",
margin = 5,
content = { "startup.nvim" },
@@ -68,7 +68,7 @@ local settings = {
content = require("startup.buildingblocks.functions").packer_plugins(),
oldfiles_directory = false,
align = "center",
- section = false,
+ fold = false,
title = "",
margin = 5,
highlight = "TSString",
@@ -80,8 +80,7 @@ local settings = {
options = {
mapping_keys = true,
empty_lines_between_mappings = true,
- oldfiles_amount = 5,
- paddings = { 2, 2, 2, 2, 2, 0 },
+ paddings = { 1, 1, 1, 1, 1 },
},
colors = {
background = "#1f2227",
diff --git a/lua/startup/themes/startify.lua b/lua/startup/themes/startify.lua
index dac4ca3..1ee2485 100644
--- a/lua/startup/themes/startify.lua
+++ b/lua/startup/themes/startify.lua
@@ -8,21 +8,43 @@ settings = {
},
body = {
type = "oldfiles",
- align = "left",
+ oldfiles_directory = false,
+ align = "center",
+ fold = false,
+ title = "Oldfiles",
+ margin = 5,
+ content = { "startup.nvim" },
+ highlight = "TSString",
+ default_color = "#FFFFFF",
+ command = "",
+ oldfiles_amount = 10,
+ },
+ body_2 = {
+ type = "oldfiles",
+ oldfiles_directory = true,
+ align = "center",
+ fold = false,
+ title = "Oldfiles of Directory",
+ margin = 5,
+ content = {},
+ highlight = "TSString",
+ default_color = "#FFFFFF",
+ command = "",
+ oldfiles_amount = 10,
},
+
footer = {
type = "text",
content = require("startup.buildingblocks.functions").quote(),
},
options = {
oldfiles_amount = 3,
- padding = {
- body_footer = 2,
- },
+ paddings = { 1, 2, 2, 3 },
},
colors = {
background = "#1f2227",
},
+ parts = { "header", "body", "body_2", "footer" },
}
return settings