2021-08-17 18:32:48 +00:00
|
|
|
local M = {}
|
|
|
|
|
|
|
|
M.options = {
|
2023-04-10 04:35:05 +00:00
|
|
|
nvchad_branch = "v2.0",
|
2021-08-22 06:28:15 +00:00
|
|
|
}
|
2021-08-22 07:49:15 +00:00
|
|
|
|
2021-09-19 08:11:28 +00:00
|
|
|
M.ui = {
|
2022-11-21 15:36:49 +00:00
|
|
|
------------------------------- base46 -------------------------------------
|
2022-07-22 16:00:00 +00:00
|
|
|
-- hl = highlights
|
|
|
|
hl_add = {},
|
|
|
|
hl_override = {},
|
|
|
|
changed_themes = {},
|
|
|
|
theme_toggle = { "onedark", "one_light" },
|
|
|
|
theme = "onedark", -- default theme
|
|
|
|
transparency = false,
|
2023-04-10 00:34:37 +00:00
|
|
|
lsp_semantic_tokens = false, -- needs nvim v0.9, just adds highlight groups for lsp semantic tokens
|
2022-11-16 04:23:16 +00:00
|
|
|
|
2023-04-25 04:52:57 +00:00
|
|
|
-- https://github.com/NvChad/base46/tree/v2.0/lua/base46/extended_integrations
|
|
|
|
extended_integrations = {}, -- these aren't compiled by default, ex: "alpha", "notify"
|
|
|
|
|
2022-11-21 15:36:49 +00: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 04:35:05 +00:00
|
|
|
telescope = { style = "borderless" }, -- borderless / bordered
|
2023-03-10 07:00:31 +00:00
|
|
|
|
2022-11-21 15:36:49 +00:00
|
|
|
------------------------------- nvchad_ui modules -----------------------------
|
2022-11-16 04:23:16 +00:00
|
|
|
statusline = {
|
2022-11-27 13:30:36 +00: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 04:23:16 +00:00
|
|
|
overriden_modules = nil,
|
|
|
|
},
|
|
|
|
|
|
|
|
-- lazyload it when there are 1+ buffers
|
|
|
|
tabufline = {
|
2023-03-30 12:53:16 +00:00
|
|
|
show_numbers = false,
|
2023-03-14 14:22:37 +00:00
|
|
|
enabled = true,
|
2022-11-16 04:23:16 +00:00
|
|
|
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 b m", "Telescope marks" },
|
2023-03-13 20:43:13 +00:00
|
|
|
{ " Themes", "Spc t h", "Telescope themes" },
|
2023-03-11 06:38:42 +00:00
|
|
|
{ " Mappings", "Spc c h", "NvCheatsheet" },
|
2022-11-16 04:23:16 +00:00
|
|
|
},
|
|
|
|
},
|
2022-12-19 17:02:29 +00:00
|
|
|
|
2023-04-10 04:35:05 +00:00
|
|
|
cheatsheet = { theme = "grid" }, -- simple/grid
|
2023-03-14 02:37:06 +00:00
|
|
|
|
|
|
|
lsp = {
|
|
|
|
-- show function signatures i.e args as you type
|
|
|
|
signature = {
|
|
|
|
disabled = false,
|
|
|
|
silent = true, -- silences 'no signature help available' message from appearing
|
|
|
|
},
|
|
|
|
},
|
2021-08-17 18:32:48 +00:00
|
|
|
}
|
2021-09-24 16:25:44 +00:00
|
|
|
|
2023-04-10 04:35:05 +00:00
|
|
|
M.plugins = "" -- path i.e "custom.plugins", so make custom/plugins.lua file
|
2023-02-17 16:55:31 +00:00
|
|
|
|
2023-03-29 02:11:21 +00:00
|
|
|
M.lazy_nvim = require "plugins.configs.lazy_nvim" -- config for lazy.nvim startup options
|
2021-08-22 07:49:15 +00:00
|
|
|
|
2023-03-09 12:37:58 +00:00
|
|
|
M.mappings = {}
|
2021-08-17 18:32:48 +00:00
|
|
|
|
|
|
|
return M
|