summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRaymaekers Luca <raymaekers.luca@gmail.com>2024-11-26 22:27:17 +0100
committerRaymaekers Luca <raymaekers.luca@gmail.com>2024-11-26 22:27:17 +0100
commit1f21f043934b886dceaaf70ed33fd3ddc42e72ed (patch)
tree0b019d3bcae92fca48e6589e2e5c5f67b572b692
parent3dc0468c1d312fad7b9d281c2f1208a728f7f235 (diff)
checkpoint
-rw-r--r--after/ftplugin/c.lua2
1 files changed, 2 insertions, 0 deletions
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("%")