21 lines
911 B
Lua
21 lines
911 B
Lua
return {
|
|
'xeluxee/competitest.nvim',
|
|
requires = "MunifTanjim/nui.nvim",
|
|
config = function() require("competitest").setup{
|
|
-- template_file = {
|
|
-- cpp = "~/.config/nvim/templates/template.cpp",
|
|
-- c = "~/.config/nvim/templates/template.c"
|
|
-- }
|
|
template_file = "~/.config/nvim/templates/template.$(FEXT)",
|
|
received_contests_directory = "/tmp/Competitive Programming/$(JUDGE)/$(CONTEST)",
|
|
compile_command = {
|
|
c = { exec = "gcc", args = { "-Wall", "-g", "-DDEBUG", "-fsanitize=address,undefined", "$(FNAME)", "-o", "$(FNOEXT).out" } },
|
|
cpp = { exec = "g++", args = { "-Wall", "-g", "-DDEBUG", "-fsanitize=address,undefined", "$(FNAME)", "-o", "$(FNOEXT).out" } },
|
|
},
|
|
run_command = {
|
|
c = { exec = "./$(FNOEXT).out" },
|
|
cpp = { exec = "./$(FNOEXT).out" }
|
|
}
|
|
} end
|
|
}
|