From 18ff27d6b17d8cbe55855884007261bdd5da7740 Mon Sep 17 00:00:00 2001 From: siduck76 Date: Sat, 19 Jun 2021 12:50:35 +0530 Subject: [PATCH] add dashboard footer & disable statusline in dashboard --- init.lua | 2 +- lua/dashboard.lua | 7 +++++++ lua/highlights.lua | 2 +- 3 files changed, 9 insertions(+), 2 deletions(-) diff --git a/init.lua b/init.lua index 3bbe5eb..2750a44 100644 --- a/init.lua +++ b/init.lua @@ -49,7 +49,7 @@ require "gitsigns-nvim" require("nvim-autopairs").setup() require("lspkind").init() --- hide line numbers in terminal windows +-- hide line numbers , statusline in specific buffers! vim.api.nvim_exec( [[ au BufEnter term://* setlocal nonumber diff --git a/lua/dashboard.lua b/lua/dashboard.lua index 7a05a8e..b9dff2a 100644 --- a/lua/dashboard.lua +++ b/lua/dashboard.lua @@ -1,7 +1,9 @@ local g = vim.g +g.dashboard_disable_statusline = 1 g.dashboard_default_executive = "telescope" g.dashboard_custom_header = { + " ", " ", " ", " ⣴⣶⣤⡤⠦⣤⣀⣤⠆ ⣈⣭⣿⣶⣿⣦⣼⣆ ", @@ -26,3 +28,8 @@ g.dashboard_custom_section = { e = {description = {" Bookmarks SPC b m"}, command = "Telescope marks"}, f = {description = {" Load Last Session SPC s l"}, command = "SessionLoad"} } + +g.dashboard_custom_footer = { + " ", + "NvChad v0.5" +} diff --git a/lua/highlights.lua b/lua/highlights.lua index c2e35e6..70e2e86 100644 --- a/lua/highlights.lua +++ b/lua/highlights.lua @@ -134,7 +134,7 @@ fg_bg("BufferLineCLoseButtonSelected", red, black) fg("DashboardHeader", grey_fg) fg("DashboardCenter", grey_fg) fg("DashboardShortcut", grey_fg) -fg("DashboardFooter", black) +fg("DashboardFooter", grey_fg) -- Default nvim bg -- cmd "hi Normal guibg=#1e222a"