Skip to content

Commit

Permalink
misc(nvdash): update footer hlgroup & no need to load base46 integration
Browse files Browse the repository at this point in the history
as the hlgroups are included in defaults integration
  • Loading branch information
siduck committed Oct 29, 2024
1 parent ad4ac7b commit 5be808e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 6 deletions.
3 changes: 0 additions & 3 deletions lua/nvchad/nvdash/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,6 @@ local M = {}
local api = vim.api
local fn = vim.fn
local strw = api.nvim_strwidth

dofile(vim.g.base46_cache .. "nvdash")

local opts = require("nvconfig").nvdash

local map = function(keys, action, buf)
Expand Down
6 changes: 3 additions & 3 deletions lua/nvconfig.lua
Original file line number Diff line number Diff line change
Expand Up @@ -66,19 +66,19 @@ local options = {
{ txt = "󱥚 Themes", keys = "th", cmd = ":lua require('nvchad.themes').open()" },
{ txt = " Mappings", keys = "ch", cmd = "NvCheatsheet" },

{ txt = "", hl = "NvDashLazy", no_gap = true, rep = true },
{ txt = "", hl = "NvDashFooter", no_gap = true, rep = true },

{
txt = function()
local stats = require("lazy").stats()
local ms = math.floor(stats.startuptime) .. " ms"
return " Loaded " .. stats.loaded .. "/" .. stats.count .. " plugins in " .. ms
end,
hl = "NvDashLazy",
hl = "NvDashFooter",
no_gap = true,
},

{ txt = "", hl = "NvDashLazy", no_gap = true, rep = true },
{ txt = "", hl = "NvDashFooter", no_gap = true, rep = true },
},
},

Expand Down

0 comments on commit 5be808e

Please sign in to comment.