92 lines
2.7 KiB
Lua
92 lines
2.7 KiB
Lua
---@type ChadrcConfig
|
|
local M = {}
|
|
|
|
M.ui = {
|
|
------------------------------- base46 -------------------------------------
|
|
-- hl = highlights
|
|
hl_add = {},
|
|
hl_override = {},
|
|
changed_themes = {},
|
|
theme_toggle = { "dark_horizon", "one_light" },
|
|
theme = "dark_horizon", -- default theme
|
|
transparency = false,
|
|
lsp_semantic_tokens = false, -- needs nvim v0.9, just adds highlight groups for lsp semantic tokens
|
|
|
|
-- https://github.com/NvChad/base46/tree/v2.0/lua/base46/extended_integrations
|
|
extended_integrations = {}, -- these aren't compiled by default, ex: "alpha", "notify"
|
|
|
|
-- 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 = true,
|
|
|
|
header = {
|
|
" ____________________ ",
|
|
"/ \\ ",
|
|
"| In case of | ",
|
|
"| Frustration | ",
|
|
"\\____________________/ ",
|
|
" ! ! ",
|
|
" ! ! ",
|
|
" L_ ! ",
|
|
" / _)! ",
|
|
" / /__L ",
|
|
" _____/ (____) ",
|
|
" (____) ",
|
|
" _____ (____) ",
|
|
" \\_(____) ",
|
|
" ! ! ",
|
|
" ! ! ",
|
|
" \\__/ ",
|
|
},
|
|
|
|
buttons = {
|
|
{ " Find File", "Spc f f", "Telescope find_files" },
|
|
{ " Recent Files", "Spc f o", "Telescope oldfiles" },
|
|
{ " Find Sessions", "Spc f s", "Telescope Sessions" },
|
|
},
|
|
},
|
|
|
|
cheatsheet = { theme = "grid" }, -- simple/grid
|
|
|
|
lsp = {
|
|
-- show function signatures i.e args as you type
|
|
signature = {
|
|
disabled = false,
|
|
silent = true, -- silences 'no signature help available' message from appearing
|
|
},
|
|
},
|
|
}
|
|
|
|
M.plugins = "custom.plugins"
|
|
M.mappings = require "custom.mappings"
|
|
|
|
return M
|