Update config / Update nvui to 3.0
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
-- This file needs to have same structure as nvconfig.lua
|
||||
-- https://github.com/NvChad/ui/blob/v2.5/lua/nvconfig.lua
|
||||
-- https://github.com/NvChad/ui/blob/v3.0/lua/nvconfig.lua
|
||||
|
||||
---@type ChadrcConfig
|
||||
local M = {}
|
||||
@@ -95,39 +95,48 @@ M.ui = {
|
||||
theme = "vscode_colored",
|
||||
},
|
||||
|
||||
nvdash = {
|
||||
load_on_startup = true,
|
||||
header = {
|
||||
" ▄▄ ▄ ▄▄▄▄▄▄▄ ",
|
||||
"▄▀███▄ ▄██ █████▀ ",
|
||||
"██▄▀███▄ ███ ",
|
||||
"███ ▀███▄ ███ ",
|
||||
"███ ▀██ ███ ",
|
||||
"███ ▀ ███ ",
|
||||
"▀██ █████▄▀█▀▄██████▄ ",
|
||||
" ▀ ▀▀▀▀▀▀▀ ▀▀▀▀▀▀▀▀▀▀ ",
|
||||
},
|
||||
buttons = {
|
||||
{ " Projects", "Spc f p", "Telescope projects" },
|
||||
{ " Find File", "Spc f f", "Telescope find_files" },
|
||||
{ " Recent Files", "Spc f o", "Telescope oldfiles" },
|
||||
{ " Find Word", "Spc f w", "Telescope live_grep" },
|
||||
{ " Bookmarks", "Spc m a", "Telescope marks" },
|
||||
cmp = {
|
||||
style="atom_colored"
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
M.nvdash = {
|
||||
load_on_startup = true,
|
||||
buttons = {
|
||||
{ txt = " Projects", keys = "Spc f p", cmd = "Telescope projects" },
|
||||
{ txt = " Find File", keys = "Spc f f", cmd = "Telescope find_files" },
|
||||
{ txt = " Recent Files", keys = "Spc f o", cmd = "Telescope oldfiles" },
|
||||
{ txt = " Find Word", keys = "Spc f w", cmd = "Telescope live_grep" },
|
||||
{ txt = " Bookmarks", keys = "Spc m a", cmd = "Telescope marks" },
|
||||
{ txt = "─", hl = "NvDashLazy", 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",
|
||||
no_gap = true,
|
||||
},
|
||||
|
||||
{ txt = "─", hl = "NvDashLazy", no_gap = true, rep = true },
|
||||
},
|
||||
|
||||
}
|
||||
|
||||
M.term = {
|
||||
-- hl = "Normal:term,WinSeparator:WinSeparator",
|
||||
-- sizes = { sp = 0.3, vsp = 0.2 },
|
||||
float = {
|
||||
relative = "editor",
|
||||
row = 0.04,
|
||||
col = 0.045,
|
||||
width = 0.9,
|
||||
height = 0.8,
|
||||
border = "single",
|
||||
},
|
||||
-- hl = "Normal:term,WinSeparator:WinSeparator",
|
||||
-- sizes = { sp = 0.3, vsp = 0.2 },
|
||||
float = {
|
||||
relative = "editor",
|
||||
row = 0.04,
|
||||
col = 0.045,
|
||||
width = 0.9,
|
||||
height = 0.8,
|
||||
border = "single",
|
||||
},
|
||||
}
|
||||
|
||||
return M
|
||||
|
||||
Reference in New Issue
Block a user