2021-08-17 14:32:48 -04:00
|
|
|
local M = {}
|
|
|
|
|
|
|
|
M.options = {
|
2023-09-26 01:58:45 -04:00
|
|
|
nvchad_branch = "v3.0",
|
2021-08-22 02:28:15 -04:00
|
|
|
}
|
2021-08-22 03:49:15 -04:00
|
|
|
|
2021-09-19 04:11:28 -04:00
|
|
|
M.ui = {
|
2022-11-21 10:36:49 -05:00
|
|
|
------------------------------- base46 -------------------------------------
|
2022-07-22 12:00:00 -04:00
|
|
|
-- hl = highlights
|
|
|
|
hl_add = {},
|
|
|
|
hl_override = {},
|
|
|
|
changed_themes = {},
|
|
|
|
theme_toggle = { "onedark", "one_light" },
|
|
|
|
theme = "onedark", -- default theme
|
|
|
|
transparency = false,
|
2022-11-15 23:23:16 -05:00
|
|
|
|
2022-11-21 10:36:49 -05:00
|
|
|
-- 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
|
|
|
|
},
|
|
|
|
|
2023-04-10 00:35:05 -04:00
|
|
|
telescope = { style = "borderless" }, -- borderless / bordered
|
2023-03-10 02:00:31 -05:00
|
|
|
|
2022-11-21 10:36:49 -05:00
|
|
|
------------------------------- nvchad_ui modules -----------------------------
|
2022-11-15 23:23:16 -05:00
|
|
|
statusline = {
|
2022-11-27 08:30:36 -05:00
|
|
|
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",
|
2022-11-15 23:23:16 -05:00
|
|
|
overriden_modules = nil,
|
|
|
|
},
|
|
|
|
|
|
|
|
-- lazyload it when there are 1+ buffers
|
|
|
|
tabufline = {
|
2023-03-30 08:53:16 -04:00
|
|
|
show_numbers = false,
|
2023-03-14 10:22:37 -04:00
|
|
|
enabled = true,
|
2022-11-15 23:23:16 -05:00
|
|
|
lazyload = true,
|
|
|
|
overriden_modules = nil,
|
|
|
|
},
|
|
|
|
|
|
|
|
-- nvdash (dashboard)
|
|
|
|
nvdash = {
|
|
|
|
load_on_startup = false,
|
|
|
|
|
|
|
|
header = {
|
|
|
|
" ▄ ▄ ",
|
|
|
|
" ▄ ▄▄▄ ▄ ▄▄▄ ▄ ▄ ",
|
|
|
|
" █ ▄ █▄█ ▄▄▄ █ █▄█ █ █ ",
|
|
|
|
" ▄▄ █▄█▄▄▄█ █▄█▄█▄▄█▄▄█ █ ",
|
|
|
|
" ▄ █▄▄█ ▄ ▄▄ ▄█ ▄▄▄▄▄▄▄▄▄▄▄▄▄▄ ",
|
|
|
|
" █▄▄▄▄ ▄▄▄ █ ▄ ▄▄▄ ▄ ▄▄▄ ▄ ▄ █ ▄",
|
|
|
|
"▄ █ █▄█ █▄█ █ █ █▄█ █ █▄█ ▄▄▄ █ █",
|
|
|
|
"█▄█ ▄ █▄▄█▄▄█ █ ▄▄█ █ ▄ █ █▄█▄█ █",
|
|
|
|
" █▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄█ █▄█▄▄▄█ ",
|
|
|
|
},
|
|
|
|
|
|
|
|
buttons = {
|
|
|
|
{ " Find File", "Spc f f", "Telescope find_files" },
|
2023-05-17 22:28:57 -04:00
|
|
|
{ " Recent Files", "Spc f o", "Telescope oldfiles" },
|
|
|
|
{ " Find Word", "Spc f w", "Telescope live_grep" },
|
2023-05-18 08:45:51 -04:00
|
|
|
{ " Bookmarks", "Spc m a", "Telescope marks" },
|
2023-03-13 16:43:13 -04:00
|
|
|
{ " Themes", "Spc t h", "Telescope themes" },
|
2023-03-11 01:38:42 -05:00
|
|
|
{ " Mappings", "Spc c h", "NvCheatsheet" },
|
2022-11-15 23:23:16 -05:00
|
|
|
},
|
|
|
|
},
|
2022-12-19 12:02:29 -05:00
|
|
|
|
2023-04-10 00:35:05 -04:00
|
|
|
cheatsheet = { theme = "grid" }, -- simple/grid
|
2023-03-13 22:37:06 -04:00
|
|
|
|
|
|
|
lsp = {
|
2023-09-26 11:11:19 -04:00
|
|
|
signature = true,
|
2023-09-26 09:21:34 -04:00
|
|
|
semantic_tokens = false,
|
2023-03-13 22:37:06 -04:00
|
|
|
},
|
2023-09-25 02:55:09 -04:00
|
|
|
|
|
|
|
term = {
|
|
|
|
sizes = { sp = 0.3, vsp = 0.2 },
|
2024-02-01 22:41:04 -05:00
|
|
|
float = {
|
|
|
|
relative = "editor",
|
|
|
|
row = 0.3,
|
|
|
|
col = 0.25,
|
|
|
|
width = 0.5,
|
|
|
|
height = 0.4,
|
|
|
|
border = "single",
|
|
|
|
},
|
2023-09-26 09:02:15 -04:00
|
|
|
behavior = {
|
|
|
|
auto_insert = true,
|
|
|
|
},
|
2023-09-25 02:55:09 -04:00
|
|
|
},
|
2021-08-17 14:32:48 -04:00
|
|
|
}
|
2021-09-24 12:25:44 -04:00
|
|
|
|
2023-04-10 00:35:05 -04:00
|
|
|
M.plugins = "" -- path i.e "custom.plugins", so make custom/plugins.lua file
|
2023-02-17 11:55:31 -05:00
|
|
|
|
2023-03-28 22:11:21 -04:00
|
|
|
M.lazy_nvim = require "plugins.configs.lazy_nvim" -- config for lazy.nvim startup options
|
2021-08-22 03:49:15 -04:00
|
|
|
|
2023-06-14 22:33:01 -04:00
|
|
|
M.mappings = require "core.mappings"
|
2021-08-17 14:32:48 -04:00
|
|
|
|
2023-10-23 21:15:17 -04:00
|
|
|
M.base46 = {
|
|
|
|
integrations = {
|
|
|
|
"blankline",
|
|
|
|
"cmp",
|
|
|
|
"defaults",
|
|
|
|
"devicons",
|
|
|
|
"git",
|
|
|
|
"lsp",
|
|
|
|
"mason",
|
|
|
|
"nvchad_updater",
|
|
|
|
"nvcheatsheet",
|
|
|
|
"nvdash",
|
|
|
|
"nvimtree",
|
|
|
|
"statusline",
|
|
|
|
"syntax",
|
2023-10-28 00:04:28 -04:00
|
|
|
"treesitter",
|
2023-10-23 21:15:17 -04:00
|
|
|
"tbline",
|
|
|
|
"telescope",
|
|
|
|
"whichkey",
|
|
|
|
},
|
|
|
|
}
|
|
|
|
|
2021-08-17 14:32:48 -04:00
|
|
|
return M
|