initial commit
This commit is contained in:
commit
dcb7debff6
29 changed files with 1276 additions and 0 deletions
19
lua/cp/config.lua
Normal file
19
lua/cp/config.lua
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
local M = {}
|
||||
|
||||
M.defaults = {
|
||||
template_dir = nil,
|
||||
contests = {
|
||||
atcoder = { cpp_version = 23 },
|
||||
codeforces = { cpp_version = 23 },
|
||||
cses = { cpp_version = 20 },
|
||||
icpc = { cpp_version = 20 },
|
||||
usaco = { cpp_version = 17 },
|
||||
},
|
||||
snippets = {},
|
||||
}
|
||||
|
||||
function M.setup(user_config)
|
||||
return vim.tbl_deep_extend('force', M.defaults, user_config or {})
|
||||
end
|
||||
|
||||
return M
|
||||
Loading…
Add table
Add a link
Reference in a new issue