aboutsummaryrefslogtreecommitdiff
path: root/lua/startup/themes/default.lua
diff options
context:
space:
mode:
authormax397574 <[email protected]>2021-10-07 11:27:32 +0200
committermax397574 <[email protected]>2021-10-07 11:27:32 +0200
commita92dabd3e97a7bea6e393e6b5733613dcfdcc9c2 (patch)
tree282cef719391796f9df7969d0748e53ee23469ae /lua/startup/themes/default.lua
parent8c67e6444b26dbb77ad32f41e34e3bfdda2bedae (diff)
feat(plugin): ✨new settings structure
Diffstat (limited to 'lua/startup/themes/default.lua')
-rw-r--r--lua/startup/themes/default.lua70
1 files changed, 44 insertions, 26 deletions
diff --git a/lua/startup/themes/default.lua b/lua/startup/themes/default.lua
index 3db5eb5..3c7fc07 100644
--- a/lua/startup/themes/default.lua
+++ b/lua/startup/themes/default.lua
@@ -1,40 +1,58 @@
local settings = {
-- every line should be same width without escaped \
header = {
- " /$$ ",
- " |__/ ",
- " /$$$$$$$ /$$$$$$ /$$$$$$ /$$ /$$ /$$ /$$$$$$/$$$$ ",
- "| $$__ $$ /$$__ $$ /$$__ $$| $$ /$$/| $$| $$_ $$_ $$",
- "| $$ \\ $$| $$$$$$$$| $$ \\ $$ \\ $$/$$/ | $$| $$ \\ $$ \\ $$",
- "| $$ | $$| $$_____/| $$ | $$ \\ $$$/ | $$| $$ | $$ | $$",
- "| $$ | $$| $$$$$$$| $$$$$$/ \\ $/ | $$| $$ | $$ | $$",
- "|__/ |__/ \\_______/ \\______/ \\_/ |__/|__/ |__/ |__/",
+ type = "text",
+ align = "center",
+ padding = 5,
+ content = {
+ " /$$ ",
+ " |__/ ",
+ " /$$$$$$$ /$$$$$$ /$$$$$$ /$$ /$$ /$$ /$$$$$$/$$$$ ",
+ "| $$__ $$ /$$__ $$ /$$__ $$| $$ /$$/| $$| $$_ $$_ $$",
+ "| $$ \\ $$| $$$$$$$$| $$ \\ $$ \\ $$/$$/ | $$| $$ \\ $$ \\ $$",
+ "| $$ | $$| $$_____/| $$ | $$ \\ $$$/ | $$| $$ | $$ | $$",
+ "| $$ | $$| $$$$$$$| $$$$$$/ \\ $/ | $$| $$ | $$ | $$",
+ "|__/ |__/ \\_______/ \\______/ \\_/ |__/|__/ |__/ |__/",
+ },
+ highlight = "markdownH1",
+ default_color = "#FFFFFF",
+ command = "",
},
-- name which will be displayed and command
- tools = {
- [" Find File"] = { "Telescope find_files", "<leader>ff" },
- [" Find Word"] = { "Telescope live_grep", "<leader>lg" },
- [" Recent Files"] = { "Telescope oldfiles", "<leader>of" },
- [" File Browser"] = { "Telescope file_browser", "<leader>fb" },
- [" Config Files"] = {
- 'lua require("telescope.builtin").find_files({cwd="~/.config"})',
- "<leader>cf",
+ body = {
+ type = "mapping",
+ align = "center",
+ padding = 5,
+ content = {
+ [" Find File"] = { "Telescope find_files", "<leader>ff" },
+ [" Find Word"] = { "Telescope live_grep", "<leader>lg" },
+ [" Recent Files"] = { "Telescope oldfiles", "<leader>of" },
+ [" File Browser"] = { "Telescope file_browser", "<leader>fb" },
+ [" Colorschemes"] = { "Telescope colorscheme", "<leader>cs" },
+ [" New File"] = { "lua require'startup'.new_file()", "<leader>nf" },
},
- [" Colorschemes"] = { "Telescope colorscheme", "<leader>cs" },
- [" New File"] = { "lua require'startup'.new_file()", "<leader>nf" },
- ["ﲉ Help Files"] = { "Telescope help_tags", "<leader>fh" },
+ highlight = "TSString",
+ default_color = "#FFFFFF",
+ command = "",
+ },
+ footer = {
+ type = "text",
+ align = "center",
+ padding = 5,
+ content = { "startup.nvim" },
+ highlight = "TSString",
+ default_color = "#FFFFFF",
+ command = "",
},
+
options = {
- align = "center", -- center, left or right
- mapping_names = true,
- -- can be an integer (columns)
- -- float < 1 -> percentage of screen width
- padding = 5, -- only used if align left or right
+ mapping_keys = true,
+ empty_lines_between_mappings = true,
+ gap1 = 3,
+ gap2 = 4,
},
colors = {
background = "#1f2227",
- heading_fg = "#009900",
- tools_fg = "#009900",
},
}
return settings