Files
dotfiles/nvim/lua/chadrc.lua
2024-09-03 17:09:16 +02:00

123 lines
3.6 KiB
Lua

-- This file needs to have same structure as nvconfig.lua
-- https://github.com/NvChad/ui/blob/v2.5/lua/nvconfig.lua
---@type ChadrcConfig
local M = {}
M.base46 = {
theme = "onedark",
---@diagnostic disable-next-line: missing-fields
changed_themes = {
---@diagnostic disable-next-line: missing-fields
onedark = {
base_16 = {
base00 = "#1e222a",
base01 = "#353b45",
base02 = "#3e4451",
base03 = "#545862",
base04 = "#565c64",
base05 = "#abb2bf",
base06 = "#b6bdca",
base07 = "#c8ccd4",
base08 = "#e55561",
base09 = "#cc9057",
base0A = "#e2b86b",
base0B = "#8ebd6b",
base0C = "#48b0bd",
base0D = "#4fa6ed",
base0E = "#bf68d9",
base0F = "#8b3434",
},
---@diagnostic disable-next-line: missing-fields
base_30 = {
bg_blue = "#61afef",
bg_yellow = "#e8c88c",
fg = "#a0a8b7",
purple = "#bf68d9",
green = "#8ebd6b",
orange = "#cc9057",
blue = "#4fa6ed",
yellow = "#e2b86b",
cyan = "#48b0bd",
red = "#e55561",
grey = "#535965",
light_grey = "#7a818e",
dark_cyan = "#266269",
dark_red = "#8b3434",
dark_yellow = "#835d1a",
dark_purple = "#7e3992",
},
},
},
hl_override = {
Comment = { italic = true },
["@comment"] = { italic = true },
-- ["@variable.parameter"] = { fg = "cyan" },
["@variable.member"] = { fg = "cyan" },
["@variable.member.key"] = { fg = "cyan" },
["@property"] = { fg = "cyan" },
["@attribute"] = { fg = "cyan" },
["@function.macro"] = { fg = "cyan", bold = true },
["@constant.macro"] = { fg = "cyan", bold = true },
["@module"] = { fg = "yellow" },
["@constant"] = { fg = "orange" },
["Include"] = { fg = "purple" },
["@keyword.exception"] = { fg = "purple" },
["@string.escape"] = { fg = "red" },
["Special"] = { fg = "red" },
["@punctuation.bracket"] = { fg = "light_grey" },
["@punctuation.delimiter"] = { fg = "light_grey" },
["@tag.delimiter"] = { fg = "light_grey" },
["Delimiter"] = { fg = "light_grey" },
["Function"] = { bold = true },
["@function"] = { bold = true },
["@function.builtin"] = { bold = true },
["@function.call"] = { bold = true },
["@function.method"] = { bold = true },
["@function.method.call"] = { bold = true },
["@keyword"] = { italic = true },
["@keyword.function"] = { bold = true },
["@keyword.rturn"] = { italic = true },
},
}
M.ui = {
statusline = {
theme = "vscode_colored",
},
nvdash = {
load_on_startup = true,
header = {
" ▄▄ ▄ ▄▄▄▄▄▄▄ ",
"▄▀███▄ ▄██ █████▀ ",
"██▄▀███▄ ███ ",
"███ ▀███▄ ███ ",
"███ ▀██ ███ ",
"███ ▀ ███ ",
"▀██ █████▄▀█▀▄██████▄ ",
" ▀ ▀▀▀▀▀▀▀ ▀▀▀▀▀▀▀▀▀▀ ",
},
buttons = {
{ "  Projects", "Spc f p", "Telescope projects" },
{ "  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" },
},
},
}
return M