feat: Some other changes in my config

This commit is contained in:
2026-03-26 11:40:39 +01:00
parent d7eed6aba2
commit bfacdb2b27
5 changed files with 120 additions and 13 deletions

View File

@@ -1,24 +1,47 @@
-- This file needs to have same structure as nvconfig.lua
-- https://github.com/NvChad/ui/blob/v3.0/lua/nvconfig.lua
-- Please read that file to know all available options :(
---@type ChadrcConfig
local M = {}
M.base46 = {
theme = "radium",
theme = "radium",
-- hl_override = {
-- Comment = { italic = true },
-- ["@comment"] = { italic = true },
-- },
hl_override = {
Comment = { italic = true },
["@comment"] = { italic = true },
},
}
-- M.nvdash = { load_on_startup = true }
-- M.ui = {
-- tabufline = {
-- lazyload = false
-- }
-- }
M.ui = {
telescope = { style = "bordered" },
statusline = {
order = { "mode", "file", "git", "%=", "lsp_msg", "%=", "diagnostics", "cwd", "cursor" },
},
}
M.nvdash = {
load_on_startup = true,
buttons = {
{ txt = " Find File", keys = "ff", cmd = "Telescope find_files" },
{ txt = " Recent Files", keys = "fo", cmd = "Telescope oldfiles" },
{ txt = "󰈭 Find Word", keys = "fw", cmd = "Telescope live_grep" },
{ txt = " Neogit", keys = "<leader>gl", cmd = "Neogit" },
{ 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 = "NvDashFooter",
no_gap = true,
content = "fit",
},
{ txt = "", hl = "NvDashFooter", no_gap = true, rep = true },
},
}
return M