aboutsummaryrefslogtreecommitdiff
path: root/lua
diff options
context:
space:
mode:
authormax397574 <[email protected]>2021-10-06 17:45:05 +0200
committermax397574 <[email protected]>2021-10-06 17:45:05 +0200
commit8495ac206f25b3d4eccca2419f66e777bd65d4b7 (patch)
tree0826108ba4f5bb40ef850a446a4b7c5b805b834a /lua
parent6cf2d6bda43d923d11d29f141d634833443c2b85 (diff)
fix(oldfiles): 🐛temporary fix for testing
Diffstat (limited to 'lua')
-rw-r--r--lua/startup/config.lua24
-rw-r--r--lua/startup/utils.lua7
2 files changed, 18 insertions, 13 deletions
diff --git a/lua/startup/config.lua b/lua/startup/config.lua
index add30f3..3a38f9c 100644
--- a/lua/startup/config.lua
+++ b/lua/startup/config.lua
@@ -1,17 +1,17 @@
local settings = {
-- every line should be same width without escaped \
- header = {
- " /$$ ",
- " |__/ ",
- " /$$$$$$$ /$$$$$$ /$$$$$$ /$$ /$$ /$$ /$$$$$$/$$$$ ",
- "| $$__ $$ /$$__ $$ /$$__ $$| $$ /$$/| $$| $$_ $$_ $$",
- "| $$ \\ $$| $$$$$$$$| $$ \\ $$ \\ $$/$$/ | $$| $$ \\ $$ \\ $$",
- "| $$ | $$| $$_____/| $$ | $$ \\ $$$/ | $$| $$ | $$ | $$",
- "| $$ | $$| $$$$$$$| $$$$$$/ \\ $/ | $$| $$ | $$ | $$",
- "|__/ |__/ \\_______/ \\______/ \\_/ |__/|__/ |__/ |__/",
- },
- -- header = utils.get_oldfiles(10),
- -- header = require("startup.utils").default_header(),
+ -- header = {
+ -- " /$$ ",
+ -- " |__/ ",
+ -- " /$$$$$$$ /$$$$$$ /$$$$$$ /$$ /$$ /$$ /$$$$$$/$$$$ ",
+ -- "| $$__ $$ /$$__ $$ /$$__ $$| $$ /$$/| $$| $$_ $$_ $$",
+ -- "| $$ \\ $$| $$$$$$$$| $$ \\ $$ \\ $$/$$/ | $$| $$ \\ $$ \\ $$",
+ -- "| $$ | $$| $$_____/| $$ | $$ \\ $$$/ | $$| $$ | $$ | $$",
+ -- "| $$ | $$| $$$$$$$| $$$$$$/ \\ $/ | $$| $$ | $$ | $$",
+ -- "|__/ |__/ \\_______/ \\______/ \\_/ |__/|__/ |__/ |__/",
+ -- },
+ -- header = require("startup.utils").get_oldfiles(10),
+ header = require("startup.utils").default_header(),
-- name which will be displayed and command
tools = {
[" Find File"] = { "Telescope find_files", "<leader>ff" },
diff --git a/lua/startup/utils.lua b/lua/startup/utils.lua
index aba785c..2bfe149 100644
--- a/lua/startup/utils.lua
+++ b/lua/startup/utils.lua
@@ -1,5 +1,10 @@
U = {}
-local colors = require("startup.config").colors
+-- local colors = require("startup.config").colors
+local colors = {
+ background = "#1f2227",
+ heading_fg = "#009900",
+ tools_fg = "#009900",
+}
function U.spaces(amount)
return string.rep(" ", amount)