From 843bd553ecb47f3a1fc09df2d32d03022ea83bf0 Mon Sep 17 00:00:00 2001 From: max397574 Date: Fri, 29 Oct 2021 19:48:25 +0200 Subject: =?UTF-8?q?feat(themes):=20=E2=9C=A8added=20all=20settings?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lua/startup/themes/default.lua | 24 ++++++++++++++++++------ lua/startup/themes/evil_startup.lua | 16 ++++++++++++---- 2 files changed, 30 insertions(+), 10 deletions(-) (limited to 'lua') diff --git a/lua/startup/themes/default.lua b/lua/startup/themes/default.lua index 43dc299..beab5dc 100644 --- a/lua/startup/themes/default.lua +++ b/lua/startup/themes/default.lua @@ -2,7 +2,10 @@ local settings = { -- every line should be same width without escaped \ header = { type = "text", + oldfiles_directory = false, align = "center", + fold_section = false, + title = "Header", margin = 5, content = { " /$$ ", @@ -14,14 +17,18 @@ local settings = { "| $$ | $$| $$$$$$$| $$$$$$/ \\ $/ | $$| $$ | $$ | $$", "|__/ |__/ \\_______/ \\______/ \\_/ |__/|__/ |__/ |__/", }, - highlight = "markdownH1", - default_color = "#FFFFFF", + highlight = "Statement", + default_color = "", command = "", + oldfiles_amount = 0, }, -- name which will be displayed and command body = { type = "mapping", + oldfiles_directory = false, align = "center", + fold_section = false, + title = "Basic Commands", margin = 5, content = { [" Find File"] = { "Telescope find_files", "ff" }, @@ -31,18 +38,23 @@ local settings = { [" Colorschemes"] = { "Telescope colorscheme", "cs" }, [" New File"] = { "lua require'startup'.new_file()", "nf" }, }, - highlight = "TSString", - default_color = "#FFFFFF", + highlight = "String", + default_color = "", command = "", + oldfiles_amount = 0, }, footer = { type = "text", + oldfiles_directory = false, align = "center", + fold_section = false, + title = "Footer", margin = 5, content = { "startup.nvim" }, - highlight = "TSString", - default_color = "#FFFFFF", + highlight = "Number", + default_color = "", command = "", + oldfi = 0, }, options = { diff --git a/lua/startup/themes/evil_startup.lua b/lua/startup/themes/evil_startup.lua index 92b7936..1c5878b 100644 --- a/lua/startup/themes/evil_startup.lua +++ b/lua/startup/themes/evil_startup.lua @@ -3,20 +3,27 @@ local settings = { header = { type = "text", align = "center", + fold_section = false, + title = "Header", margin = 5, content = require("startup.buildingblocks.headers").hydra(), - highlight = "markdownH1", - default_color = "#FFFFFF", + highlight = "Statement", + default_color = "", command = "", + oldfiles_amount = 0, }, header_2 = { type = "text", + oldfiles_directory = false, align = "center", + fold_section = false, + title = "Quote", margin = 5, content = require("startup.buildingblocks.functions").quote(), highlight = "Constant", default_color = "", command = "", + oldfiles_amount = 0, }, -- name which will be displayed and command body = { @@ -33,9 +40,10 @@ local settings = { [" Colorschemes"] = { "Telescope colorscheme", "cs" }, [" New File"] = { "lua require'startup'.new_file()", "nf" }, }, - highlight = "TSString", - default_color = "#FFFFFF", + highlight = "String", + default_color = "", command = "", + oldfiles_amount = 0, }, body_2 = { type = "oldfiles", -- cgit v1.2.3