diff options
| author | max397574 <[email protected]> | 2021-10-20 20:16:55 +0200 | 
|---|---|---|
| committer | max397574 <[email protected]> | 2021-10-20 20:16:55 +0200 | 
| commit | 99f1a89aea79d5012dd05f4730b21297550b57df (patch) | |
| tree | e1b51c432b8dbfbdad84e1ed084f2d155bc7f164 /lua/startup/themes/startify.lua | |
| parent | d568672b40d05dbe515cb74459986bdf5d48e086 (diff) | |
fix(themes): 🐛use fold instead of section and some new settings
Diffstat (limited to 'lua/startup/themes/startify.lua')
| -rw-r--r-- | lua/startup/themes/startify.lua | 30 | 
1 files changed, 26 insertions, 4 deletions
| 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 | 
