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