123 lines
3.2 KiB
Lua
123 lines
3.2 KiB
Lua
local M = {}
|
|
|
|
M.options = {
|
|
nvchad_branch = "v3.0",
|
|
}
|
|
|
|
M.ui = {
|
|
------------------------------- base46 -------------------------------------
|
|
-- hl = highlights
|
|
hl_add = {},
|
|
hl_override = {},
|
|
changed_themes = {},
|
|
theme_toggle = { "onedark", "one_light" },
|
|
theme = "onedark", -- default theme
|
|
transparency = false,
|
|
|
|
-- cmp themeing
|
|
cmp = {
|
|
icons = true,
|
|
lspkind_text = true,
|
|
style = "default", -- default/flat_light/flat_dark/atom/atom_colored
|
|
border_color = "grey_fg", -- only applicable for "default" style, use color names from base30 variables
|
|
selected_item_bg = "colored", -- colored / simple
|
|
},
|
|
|
|
telescope = { style = "borderless" }, -- borderless / bordered
|
|
|
|
------------------------------- nvchad_ui modules -----------------------------
|
|
statusline = {
|
|
theme = "default", -- default/vscode/vscode_colored/minimal
|
|
-- default/round/block/arrow separators work only for default statusline theme
|
|
-- round and block will work for minimal theme only
|
|
separator_style = "default",
|
|
overriden_modules = nil,
|
|
},
|
|
|
|
-- lazyload it when there are 1+ buffers
|
|
tabufline = {
|
|
show_numbers = false,
|
|
enabled = true,
|
|
lazyload = true,
|
|
overriden_modules = nil,
|
|
},
|
|
|
|
-- nvdash (dashboard)
|
|
nvdash = {
|
|
load_on_startup = false,
|
|
|
|
header = {
|
|
" ▄ ▄ ",
|
|
" ▄ ▄▄▄ ▄ ▄▄▄ ▄ ▄ ",
|
|
" █ ▄ █▄█ ▄▄▄ █ █▄█ █ █ ",
|
|
" ▄▄ █▄█▄▄▄█ █▄█▄█▄▄█▄▄█ █ ",
|
|
" ▄ █▄▄█ ▄ ▄▄ ▄█ ▄▄▄▄▄▄▄▄▄▄▄▄▄▄ ",
|
|
" █▄▄▄▄ ▄▄▄ █ ▄ ▄▄▄ ▄ ▄▄▄ ▄ ▄ █ ▄",
|
|
"▄ █ █▄█ █▄█ █ █ █▄█ █ █▄█ ▄▄▄ █ █",
|
|
"█▄█ ▄ █▄▄█▄▄█ █ ▄▄█ █ ▄ █ █▄█▄█ █",
|
|
" █▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄█ █▄█▄▄▄█ ",
|
|
},
|
|
|
|
buttons = {
|
|
{ " 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" },
|
|
{ " Themes", "Spc t h", "Telescope themes" },
|
|
{ " Mappings", "Spc c h", "NvCheatsheet" },
|
|
},
|
|
},
|
|
|
|
cheatsheet = { theme = "grid" }, -- simple/grid
|
|
|
|
lsp = {
|
|
signature = true,
|
|
semantic_tokens = false,
|
|
},
|
|
|
|
term = {
|
|
sizes = { sp = 0.3, vsp = 0.2 },
|
|
float = {
|
|
relative = "editor",
|
|
row = 0.3,
|
|
col = 0.25,
|
|
width = 0.5,
|
|
height = 0.4,
|
|
border = "single",
|
|
},
|
|
behavior = {
|
|
auto_insert = true,
|
|
},
|
|
},
|
|
}
|
|
|
|
M.plugins = "" -- path i.e "custom.plugins", so make custom/plugins.lua file
|
|
|
|
M.lazy_nvim = require "plugins.configs.lazy_nvim" -- config for lazy.nvim startup options
|
|
|
|
M.mappings = require "core.mappings"
|
|
|
|
M.base46 = {
|
|
integrations = {
|
|
"blankline",
|
|
"cmp",
|
|
"defaults",
|
|
"devicons",
|
|
"git",
|
|
"lsp",
|
|
"mason",
|
|
"nvchad_updater",
|
|
"nvcheatsheet",
|
|
"nvdash",
|
|
"nvimtree",
|
|
"statusline",
|
|
"syntax",
|
|
"treesitter",
|
|
"tbline",
|
|
"telescope",
|
|
"whichkey",
|
|
},
|
|
}
|
|
|
|
return M
|