16 lines
665 B
Lua
16 lines
665 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)",
|
|
compile_command = {
|
|
c = { exec = "gcc", args = { "-Wall", "-g", "-DDEBUG", "-fsanitize=address", "$(FNAME)", "-o", "$(FNOEXT)" } },
|
|
cpp = { exec = "g++", args = { "-Wall", "-g", "-DDEBUG", "-fsanitize=address", "$(FNAME)", "-o", "$(FNOEXT)" } },
|
|
},
|
|
} end
|
|
}
|