2023-02-13 13:17:05 -06:00
|
|
|
|
return {
|
|
|
|
|
{
|
2023-10-17 12:30:51 -05:00
|
|
|
|
"nvimdev/dashboard-nvim",
|
2023-10-30 17:58:33 -05:00
|
|
|
|
opts = function(_, opts)
|
2023-02-13 13:17:05 -06:00
|
|
|
|
local logo = [[
|
2023-10-17 12:30:51 -05:00
|
|
|
|
⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢀⣀⣤⡤⠴⠶⠶⠶⠶⠦⢤⣤⣀⡀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀
|
|
|
|
|
⠀⠀⠀⠀⠀⠀⠀⠀⠀⢀⣠⠶⠛⠉⠁⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠈⠉⠛⠶⣄⡀⠀⠀⠀⠀⠀⠀⠀⠀⠀
|
|
|
|
|
⠀⠀⠀⠀⠀⠀⠀⣠⠞⠋⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠙⠳⣄⠀⠀⠀⠀⠀⠀⠀
|
|
|
|
|
⠀⠀⠀⠀⠀⣠⠞⠁⠀⠀⠀⠀⠀⠀⠀⢀⣤⡶⠿⠛⠛⠿⢶⣤⡀⠀⠀⠀⠀⠀⠀⠀⠈⠳⣄⠀⠀⠀⠀⠀
|
|
|
|
|
⠀⠀⠀⢀⡾⠁⠀⠀⠀⠀⠀⠀⠀⢀⣴⠟⠁⠀⠀⠀⠀⠀⠀⠈⠻⣦⡀⠀⠀⠀⠀⠀⠀⠀⠈⢷⡀⠀⠀⠀
|
|
|
|
|
⠀⠀⢠⡞⠀⠀⠀⠀⠀⠀⠀⠀⠀⣾⠃⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠘⣷⠀⠀⠀⠀⠀⠀⠀⠀⠀⢳⡄⠀⠀
|
|
|
|
|
⠀⢀⡟⠀⠀⠀⠀⠀⠀⣶⣶⡀⢸⣿⣤⣤⣤⣤⣤⣤⣤⣤⣤⣤⣤⣤⣿⡇⢀⣶⣶⠀⠀⠀⠀⠀⠀⢻⡀⠀
|
|
|
|
|
⠀⣼⠁⠀⠀⠀⠀⠀⣸⣿⣿⣷⡘⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⢃⣾⣿⣿⣇⠀⠀⠀⠀⠀⠈⣧⠀
|
|
|
|
|
⢀⡏⠀⠀⠀⠀⠀⢀⣿⣿⠹⣿⣷⡹⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⢏⣾⣿⠏⣿⣿⡀⠀⠀⠀⠀⠀⢹⡀
|
|
|
|
|
⢸⡇⠀⠀⠀⠀⠀⣼⣿⡏⠀⠹⣿⣷⡈⠻⣿⣿⣿⣿⣿⣿⣿⣿⠟⢁⣾⣿⠏⠀⢹⣿⣧⠀⠀⠀⠀⠀⢸⡇
|
|
|
|
|
⢸⡇⠀⠀⠀⠀⢠⣿⣿⠀⠀⠀⠹⣿⣷⡀⠀⠉⠉⠛⠛⠉⠉⠀⢀⣾⣿⠏⠀⠀⠀⣿⣿⡄⠀⠀⠀⠀⢸⡇
|
|
|
|
|
⠈⣇⠀⠀⠀⠀⣾⣿⠇⠀⠀⠀⠀⠹⣿⣷⡀⠀⠀⠀⠀⠀⠀⢀⣾⣿⠏⠀⠀⠀⠀⠸⣿⣷⠀⠀⠀⠀⣸⠁
|
|
|
|
|
⠀⢻⡀⠀⠀⢰⣿⡿⠀⠀⠀⠀⠀⠀⠹⣿⣷⡀⠀⠀⠀⠀⢀⣾⣿⠏⠀⠀⠀⠀⠀⠀⢿⣿⡆⠀⠀⢀⡟⠀
|
|
|
|
|
⠀⠈⣧⠀⠀⣿⣿⣷⣶⣶⣶⣶⣶⣶⣶⠹⣿⣷⡀⠀⠀⢀⣾⣿⠏⣶⣶⣶⣶⣶⣶⣶⣾⣿⣿⠀⠀⣼⠁⠀
|
|
|
|
|
⠀⠀⠘⢧⠀⠈⠉⠉⠉⠉⠉⠉⠉⠉⠁⠀⠹⣿⣷⡀⢀⣾⣿⠏⠀⠈⠉⠉⠉⠉⠉⠉⠉⠉⠁⠀⡼⠃⠀⠀
|
|
|
|
|
⠀⠀⠀⠈⢷⡀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠹⣿⣷⣾⣿⠏⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢀⡾⠁⠀⠀⠀
|
|
|
|
|
⠀⠀⠀⠀⠀⠙⢦⡀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠹⣿⣿⠏⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢀⡴⠋⠀⠀⠀⠀⠀
|
|
|
|
|
⠀⠀⠀⠀⠀⠀⠀⠙⢦⣄⠀⠀⠀⠀⠀⠀⠀⠀⠀⠈⠁⠀⠀⠀⠀⠀⠀⠀⠀⠀⣠⡴⠋⠀⠀⠀⠀⠀⠀⠀
|
|
|
|
|
⠀⠀⠀⠀⠀⠀⠀⠀⠀⠈⠙⠶⣤⣀⡀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢀⣀⣤⠶⠋⠁⠀⠀⠀⠀⠀⠀⠀⠀⠀
|
|
|
|
|
⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠈⠉⠛⠓⠲⠶⠶⠶⠶⠖⠚⠛⠉⠁⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀]]
|
2023-02-13 13:17:05 -06:00
|
|
|
|
|
2023-10-17 12:30:51 -05:00
|
|
|
|
-- TODO::
|
|
|
|
|
-- originally used to set highlight group to change header color in alpha
|
|
|
|
|
-- now would need to maybe use an AutoCmd to change DashboardHeader
|
2023-02-13 13:17:05 -06:00
|
|
|
|
|
2023-10-17 12:30:51 -05:00
|
|
|
|
-- math.randomseed(os.time())
|
|
|
|
|
-- local function pick_color()
|
|
|
|
|
-- local colors = { "String", "Identifier", "Keyword", "Number" }
|
|
|
|
|
-- return colors[math.random(#colors)]
|
|
|
|
|
-- end
|
|
|
|
|
--
|
2023-10-30 17:58:33 -05:00
|
|
|
|
opts.config.header = vim.split(logo, "\n")
|
2023-10-17 12:30:51 -05:00
|
|
|
|
return opts
|
2023-10-30 17:58:33 -05:00
|
|
|
|
end,
|
2023-02-13 13:17:05 -06:00
|
|
|
|
},
|
2023-06-09 08:47:29 -05:00
|
|
|
|
{
|
|
|
|
|
"folke/edgy.nvim",
|
|
|
|
|
opts = {
|
|
|
|
|
left = {
|
|
|
|
|
{
|
|
|
|
|
title = "Neo-Tree",
|
|
|
|
|
ft = "neo-tree",
|
|
|
|
|
filter = function(buf)
|
|
|
|
|
return vim.b[buf].neo_tree_source == "filesystem"
|
|
|
|
|
end,
|
|
|
|
|
pinned = true,
|
|
|
|
|
open = function()
|
|
|
|
|
vim.api.nvim_input("<esc><space>e")
|
|
|
|
|
end,
|
|
|
|
|
size = { height = 0.5 },
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
title = "Neo-Tree Git",
|
|
|
|
|
ft = "neo-tree",
|
|
|
|
|
filter = function(buf)
|
|
|
|
|
return vim.b[buf].neo_tree_source == "git_status"
|
|
|
|
|
end,
|
|
|
|
|
pinned = true,
|
|
|
|
|
open = "Neotree position=right git_status",
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
title = "Neo-Tree Buffers",
|
|
|
|
|
ft = "neo-tree",
|
|
|
|
|
filter = function(buf)
|
|
|
|
|
return vim.b[buf].neo_tree_source == "buffers"
|
|
|
|
|
end,
|
|
|
|
|
pinned = true,
|
|
|
|
|
open = "Neotree position=top buffers",
|
|
|
|
|
},
|
|
|
|
|
-- {
|
|
|
|
|
-- ft = "Outline",
|
|
|
|
|
-- pinned = true,
|
|
|
|
|
-- open = "SymbolsOutline",
|
|
|
|
|
-- },
|
|
|
|
|
"neo-tree",
|
|
|
|
|
},
|
|
|
|
|
},
|
|
|
|
|
},
|
2024-07-01 13:33:26 -05:00
|
|
|
|
{
|
|
|
|
|
"norcalli/nvim-colorizer.lua",
|
|
|
|
|
config = function()
|
2024-07-12 11:23:32 -05:00
|
|
|
|
require("colorizer").setup({ "css", "javascript", "html" }, {
|
2024-07-01 13:33:26 -05:00
|
|
|
|
RGB = true, -- #RGB hex codes
|
|
|
|
|
RRGGBB = true, -- #RRGGBB hex codes
|
|
|
|
|
names = true, -- "Name" codes like Blue
|
|
|
|
|
RRGGBBAA = true, -- #RRGGBBAA hex codes
|
|
|
|
|
rgb_fn = true, -- CSS rgb() and rgba() functions
|
|
|
|
|
hsl_fn = true, -- CSS hsl() and hsla() functions
|
|
|
|
|
css = true, -- Enable all CSS features: rgb_fn, hsl_fn, names, RGB, RRGGBB
|
|
|
|
|
css_fn = true, -- Enable all CSS *functions*: rgb_fn, hsl_fn
|
|
|
|
|
-- Available modes: foreground, background
|
|
|
|
|
mode = "background", -- Set the display mode.
|
|
|
|
|
})
|
|
|
|
|
end,
|
|
|
|
|
},
|
2023-02-13 13:17:05 -06:00
|
|
|
|
}
|