My neovim config
This commit is contained in:
15
lua/plugins/competitest.lua
Normal file
15
lua/plugins/competitest.lua
Normal file
@@ -0,0 +1,15 @@
|
||||
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
|
||||
}
|
||||
Reference in New Issue
Block a user