feat: add neovim config w/ nvchad v2.0
This commit is contained in:
parent
8a5ee43828
commit
e573ccda4b
9 changed files with 256 additions and 0 deletions
39
home/private_dot_config/nvim/lua/custom/chadrc.lua
Normal file
39
home/private_dot_config/nvim/lua/custom/chadrc.lua
Normal file
|
@ -0,0 +1,39 @@
|
|||
---@type ChadrcConfig
|
||||
local M = {}
|
||||
|
||||
-- Path to overriding theme and highlights files
|
||||
local highlights = require "custom.highlights"
|
||||
|
||||
local is_darkmode = vim.system({"darkman","get"}, { text = true }, on_exit)
|
||||
if is_darkmode == "dark" then
|
||||
local c_theme = "nord"
|
||||
else
|
||||
local c_theme = "onenord_light"
|
||||
end
|
||||
|
||||
M.ui = {
|
||||
theme = c_theme,
|
||||
theme_toggle = { "nord", "onenord_light" },
|
||||
|
||||
hl_override = highlights.override,
|
||||
hl_add = highlights.add,
|
||||
|
||||
nvdash = {
|
||||
load_on_startup = true,
|
||||
-- generated with https://patorjk.com/software/taag/#
|
||||
header = {
|
||||
"▗▖ ▗▖▗▄▄▄▖ ▗▄▖ ▗▖ ▗▖▗▄▄▄▖▗▖ ▗▖",
|
||||
"▐▛▚▖▐▌▐▌ ▐▌ ▐▌▐▌ ▐▌ █ ▐▛▚▞▜▌",
|
||||
"▐▌ ▝▜▌▐▛▀▀▘▐▌ ▐▌▐▌ ▐▌ █ ▐▌ ▐▌",
|
||||
"▐▌ ▐▌▐▙▄▄▖▝▚▄▞▘ ▝▚▞▘ ▗▄█▄▖▐▌ ▐▌",
|
||||
" ",
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
M.plugins = "custom.plugins"
|
||||
|
||||
-- check core.mappings for table structure
|
||||
M.mappings = require "custom.mappings"
|
||||
|
||||
return M
|
Loading…
Add table
Add a link
Reference in a new issue