From a143f808c7493e7a028ae6f97793f08d13ad1b85 Mon Sep 17 00:00:00 2001 From: Daniel Lundin Date: Tue, 14 May 2024 19:57:55 +0200 Subject: [PATCH] nvim: dashboard prettification --- .config/nvim/lua/plugins/ui.lua | 28 ++++++++++++++++++++++++++-- 1 file changed, 26 insertions(+), 2 deletions(-) diff --git a/.config/nvim/lua/plugins/ui.lua b/.config/nvim/lua/plugins/ui.lua index 390de3b..a52669a 100644 --- a/.config/nvim/lua/plugins/ui.lua +++ b/.config/nvim/lua/plugins/ui.lua @@ -20,15 +20,39 @@ hooks.register(hooks.type.HIGHLIGHT_SETUP, function() Group.new("IndentBlanklineContextChar", colors.IndentBlanklineContextChar) end) +local logo = [[ +███████ ██ ██ ███████ ██ ███ ███ █████ ███ ██ ██████ ██████ ██████ ██ ██ ██████ +██ ██ ██ ██ ██ ████ ████ ██ ██ ████ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ +███████ ███████ █████ ██ ██ ████ ██ ███████ ██ ██ ██ ██ ███ ██████ ██ ██ ██ ██ ██████ + ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ +███████ ██ ██ ███████ ███████ ██ ██ ██ ██ ██ ████ ██████ ██ ██ ██████ ██████ ██ +]] + return { + { + "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 = {}, + }, + }, + }, + { "echasnovski/mini.indentscope", opts = { draw = { - delay = 25, -- ms + delay = 50, -- ms }, }, }, + { "akinsho/bufferline.nvim", enabled = false, @@ -54,7 +78,7 @@ return { }, }, scope = { - enabled = true, + enabled = false, show_start = false, char = "│", highlight = {