diff --git a/lua/custom/plugins/leetcode.lua b/lua/custom/plugins/leetcode.lua index 88a29f7..684e42e 100644 --- a/lua/custom/plugins/leetcode.lua +++ b/lua/custom/plugins/leetcode.lua @@ -11,6 +11,12 @@ return { }, opts = { -- configuration goes here + injector = { + ['cpp'] = { + before = { '#include ', 'using namespace std;' }, + after = 'int main() {}', + }, + }, }, }, }