From 1f21f043934b886dceaaf70ed33fd3ddc42e72ed Mon Sep 17 00:00:00 2001 From: Raymaekers Luca Date: Tue, 26 Nov 2024 22:27:17 +0100 Subject: checkpoint --- after/ftplugin/c.lua | 2 ++ 1 file changed, 2 insertions(+) diff --git a/after/ftplugin/c.lua b/after/ftplugin/c.lua index d0d65be..9696f73 100644 --- a/after/ftplugin/c.lua +++ b/after/ftplugin/c.lua @@ -20,3 +20,5 @@ map("n", ",f", mapcmd("CF"), { desc = "Toggle formatting" }) vim.opt.commentstring = "// %s" -- disable indent in switch statement vim.opt.cinoptions = "l1" + +vim.opt.makeprg = "gccg " .. vim.fn.expand("%") -- cgit v1.2.3