27 lines
571 B
Lua
27 lines
571 B
Lua
---@type ChadrcConfig
|
|
local M = {}
|
|
|
|
-- Path to overriding theme and highlights files
|
|
local highlights = require "custom.highlights"
|
|
|
|
M.ui = {
|
|
theme = "onedark",
|
|
theme_toggle = { "onedark", "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"
|
|
|
|
-- tell Neovim that *.v files are Coq
|
|
vim.api.nvim_create_autocmd({ "BufRead", "BufNewFile" }, {
|
|
pattern = "*.v",
|
|
callback = function() vim.bo.filetype = "coq" end,
|
|
})
|
|
|
|
return M
|