2024-03-03 22:20:57 +01:00
|
|
|
local hooks = require("ibl.hooks")
|
|
|
|
-- create the highlight groups in the highlight setup hook, so they are reset
|
|
|
|
-- every time the colorscheme changes
|
|
|
|
hooks.register(hooks.type.HIGHLIGHT_SETUP, function()
|
2024-03-18 17:47:39 +01:00
|
|
|
local colorbuddy = require("colorbuddy")
|
|
|
|
local Color = colorbuddy.Color
|
|
|
|
local colors = colorbuddy.colors
|
|
|
|
local Group = colorbuddy.Group
|
|
|
|
local groups = colorbuddy.groups
|
|
|
|
local styles = colorbuddy.styles
|
2024-03-03 22:20:57 +01:00
|
|
|
Color.new("IndentBlanklineIndent", "#1e2835", styles.nocombine)
|
|
|
|
Group.new("IndentBlanklineIndent1", colors.IndentBlanklineIndent:light(0.1))
|
|
|
|
Group.new("IndentBlanklineIndent2", colors.IndentBlanklineIndent:light(0.15))
|
|
|
|
Group.new("IndentBlanklineIndent3", colors.IndentBlanklineIndent:light(0.2))
|
|
|
|
Group.new("IndentBlanklineIndent4", colors.IndentBlanklineIndent:light(0.25))
|
|
|
|
Group.new("IndentBlanklineIndent5", colors.IndentBlanklineIndent:light(0.3))
|
|
|
|
Group.new("IndentBlanklineIndent6", colors.IndentBlanklineIndent:light(0.35))
|
|
|
|
|
|
|
|
Color.new("IndentBlanklineContextChar", "#f0a972", styles.nocombine)
|
|
|
|
Group.new("IndentBlanklineContextChar", colors.IndentBlanklineContextChar)
|
|
|
|
end)
|
|
|
|
|
2024-05-14 19:57:55 +02:00
|
|
|
local logo = [[
|
|
|
|
███████ ██ ██ ███████ ██ ███ ███ █████ ███ ██ ██████ ██████ ██████ ██ ██ ██████
|
|
|
|
██ ██ ██ ██ ██ ████ ████ ██ ██ ████ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██
|
|
|
|
███████ ███████ █████ ██ ██ ████ ██ ███████ ██ ██ ██ ██ ███ ██████ ██ ██ ██ ██ ██████
|
|
|
|
██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██
|
|
|
|
███████ ██ ██ ███████ ███████ ██ ██ ██ ██ ██ ████ ██████ ██ ██ ██████ ██████ ██
|
|
|
|
]]
|
|
|
|
|
2023-09-18 13:53:33 +02:00
|
|
|
return {
|
2024-05-14 19:57:55 +02:00
|
|
|
{
|
|
|
|
"nvimdev/dashboard-nvim",
|
|
|
|
opts = {
|
|
|
|
theme = "hyper",
|
|
|
|
config = {
|
|
|
|
header = vim.split(string.rep("\n", 8) .. logo, "\n"),
|
|
|
|
week_header = { enable = false },
|
|
|
|
packages = { enable = false },
|
|
|
|
project = { enable = false },
|
|
|
|
footer = {},
|
|
|
|
shortcut = {},
|
|
|
|
},
|
|
|
|
},
|
|
|
|
},
|
|
|
|
|
2024-03-18 17:52:42 +01:00
|
|
|
{
|
|
|
|
"echasnovski/mini.indentscope",
|
|
|
|
opts = {
|
|
|
|
draw = {
|
2024-05-14 19:57:55 +02:00
|
|
|
delay = 50, -- ms
|
2024-03-18 17:52:42 +01:00
|
|
|
},
|
|
|
|
},
|
|
|
|
},
|
2024-05-14 19:57:55 +02:00
|
|
|
|
2024-03-09 18:34:31 +01:00
|
|
|
{
|
|
|
|
"akinsho/bufferline.nvim",
|
|
|
|
enabled = false,
|
|
|
|
},
|
|
|
|
|
2023-09-18 13:53:33 +02:00
|
|
|
{
|
|
|
|
"lukas-reineke/indent-blankline.nvim",
|
2024-03-03 22:20:57 +01:00
|
|
|
dependencies = {
|
|
|
|
{ "tjdevries/colorbuddy.nvim" },
|
|
|
|
},
|
|
|
|
main = "ibl",
|
2023-09-18 13:53:33 +02:00
|
|
|
opts = {
|
2023-10-02 21:39:32 +02:00
|
|
|
indent = {
|
|
|
|
char = "┊",
|
|
|
|
tab_char = "┊",
|
|
|
|
highlight = {
|
|
|
|
"IndentBlanklineIndent1",
|
|
|
|
"IndentBlanklineIndent2",
|
|
|
|
"IndentBlanklineIndent3",
|
|
|
|
"IndentBlanklineIndent4",
|
|
|
|
"IndentBlanklineIndent5",
|
|
|
|
"IndentBlanklineIndent6",
|
|
|
|
},
|
|
|
|
},
|
|
|
|
scope = {
|
2024-05-14 19:57:55 +02:00
|
|
|
enabled = false,
|
2023-10-02 21:39:32 +02:00
|
|
|
show_start = false,
|
|
|
|
char = "│",
|
|
|
|
highlight = {
|
|
|
|
"IndentBlanklineIndent1",
|
|
|
|
"IndentBlanklineIndent2",
|
|
|
|
"IndentBlanklineIndent3",
|
|
|
|
"IndentBlanklineIndent4",
|
|
|
|
"IndentBlanklineIndent5",
|
|
|
|
"IndentBlanklineIndent6",
|
|
|
|
},
|
2023-09-18 13:53:33 +02:00
|
|
|
},
|
|
|
|
},
|
|
|
|
},
|
2024-03-03 22:20:57 +01:00
|
|
|
|
2024-05-09 13:13:52 +02:00
|
|
|
{
|
|
|
|
"mvllow/modes.nvim",
|
|
|
|
opts = {
|
|
|
|
colors = {
|
|
|
|
copy = "#f5c359",
|
|
|
|
delete = "#c75c6a",
|
|
|
|
insert = "#ffcc00",
|
|
|
|
visual = "#c343fc",
|
|
|
|
},
|
|
|
|
set_cursor = true,
|
|
|
|
set_cursorline = true,
|
|
|
|
set_number = true,
|
|
|
|
},
|
|
|
|
},
|
|
|
|
|
2024-05-09 17:18:20 +02:00
|
|
|
{
|
|
|
|
"folke/noice.nvim",
|
|
|
|
event = "VeryLazy",
|
|
|
|
keys = {
|
|
|
|
{ "<leader>sna", "<cmd>NoiceTelescope<cr>", desc = "Show all messages in Telescope" },
|
|
|
|
},
|
|
|
|
opts = function()
|
|
|
|
local enable_conceal = true -- Hide command text if true
|
|
|
|
return {
|
|
|
|
presets = { bottom_search = true }, -- The kind of popup used for /
|
|
|
|
cmdline = {
|
|
|
|
view = "cmdline", -- The kind of popup used for :
|
|
|
|
format = {
|
|
|
|
cmdline = { conceal = enable_conceal },
|
|
|
|
search_down = { conceal = enable_conceal },
|
|
|
|
search_up = { conceal = enable_conceal },
|
|
|
|
filter = { conceal = enable_conceal },
|
|
|
|
lua = { conceal = enable_conceal },
|
|
|
|
help = { conceal = enable_conceal },
|
|
|
|
input = { conceal = enable_conceal },
|
|
|
|
},
|
|
|
|
},
|
|
|
|
|
|
|
|
messages = { enabled = true },
|
|
|
|
lsp = {
|
|
|
|
hover = { enabled = false },
|
|
|
|
signature = { enabled = false },
|
|
|
|
progress = { enabled = true, view = "cmdline" },
|
|
|
|
message = { enabled = false },
|
|
|
|
smart_move = { enabled = false },
|
|
|
|
},
|
|
|
|
}
|
|
|
|
end,
|
|
|
|
},
|
|
|
|
|
2024-03-03 22:20:57 +01:00
|
|
|
{
|
|
|
|
"rcarriga/nvim-notify",
|
|
|
|
opts = {
|
2024-05-09 17:18:20 +02:00
|
|
|
stages = "fade_in_slide_out",
|
|
|
|
timeout = 1000,
|
2024-03-03 22:20:57 +01:00
|
|
|
background_colour = "#1e2835",
|
2024-05-09 11:16:52 +02:00
|
|
|
render = "wrapped-compact",
|
2024-05-09 17:18:20 +02:00
|
|
|
top_down = false,
|
2024-03-03 22:20:57 +01:00
|
|
|
},
|
|
|
|
},
|
|
|
|
|
|
|
|
{
|
|
|
|
"nvim-lualine/lualine.nvim",
|
2024-03-27 23:19:10 +01:00
|
|
|
enabled = false,
|
2024-03-03 22:20:57 +01:00
|
|
|
},
|
2023-09-18 13:53:33 +02:00
|
|
|
}
|