29 lines
572 B
Lua
29 lines
572 B
Lua
|
---@type ChadrcConfig
|
||
|
local M = {}
|
||
|
|
||
|
-- Path to overriding theme and highlights files
|
||
|
local highlights = require "custom.highlights"
|
||
|
|
||
|
M.ui = {
|
||
|
theme = "catppuccin",
|
||
|
theme_toggle = { "catppuccin", "one_light" },
|
||
|
|
||
|
hl_override = highlights.override,
|
||
|
hl_add = highlights.add,
|
||
|
}
|
||
|
|
||
|
M.plugins = "custom.plugins"
|
||
|
|
||
|
-- check core.mappings for table structure
|
||
|
M.mappings = require "custom.mappings"
|
||
|
|
||
|
vim.api.nvim_create_autocmd("VimEnter", {
|
||
|
callback = function()
|
||
|
vim.defer_fn(function()
|
||
|
vim.cmd("NvimTreeToggle")
|
||
|
end, 100)
|
||
|
end
|
||
|
})
|
||
|
|
||
|
return M
|